no images visible in demo version

no images visible in demo version

Friday 08 August 2003 4:39:59 am - 7 replies

Author Message

Alex Jones

Friday 08 August 2003 7:01:03 am

Have you made the changes to image.ini to use GD instead of convert?

[ConverterSettings]
UseConvert=false
UseGD=true

[GDSettings]
HasGD2=true

[Rules]
DefaultRule=image/jpeg;gd
Rules[]=image/jpeg;image/jpeg;gd
Rules[]=image/png;image/png;gd
Rules[]=image/gif;image/png;gd
Rules[]=image/xpm;image/png;gd

If so, you may want to turn on the debug mode in settings/site.ini or settings/siteaccess/YOURSITE/site.ini.append to see what errors it generates:

[DebugSettings]
DebugOutput=disabled

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

rik lingen

Friday 08 August 2003 10:05:00 am

Thanks Alex, for your reply. Your solution takes care of the images not being visible right at the demo start up. that problem solved. (my config is php4.3.2 with embedded GD, so perhaps that is why the GD was not picked up correctly)

problem that remains:

a new article image upload ends up in the

ezpublish/var/storage/original/image folder together with all the images that go with the demo.

The ez source however expects them in the variations folder. the html source code gives you

img src="/ezpublish/var/storage/variations/image/p/h/p" alt="" /

the /p folder remains empty and a broken image links is the only thing you get to see.

a symlink from original to variations will not do the trick.

There are a few older posts on this folder related to this problem but without a satisfactry answer.

suggestions are greatly appreciated.

Rik

 

padEE Scherer

Saturday 09 August 2003 5:50:23 am

i've got the same problem. i can't see any picures. on the server where ez3.1.1 runs properly has php4.3.1. now, what is gd exactly and is it in the version 4.3.1, so that i could proceed as mentioned above?

thanks for any help

padEE

Tony Wood

Saturday 09 August 2003 6:49:26 am

Hi,

I've added a couple of problems/solutions to
http://ez.no/developer/ez_publish_3/documentation/installation_and_configuration/troubleshooting/images_do_not_work i hope they help.

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

rik lingen

Sunday 10 August 2003 10:32:04 am

Thanks Tony,

I checked the troubleshooting page but no succes.

the point is that there is nothing wrong with the quality of the image when you upload it to the server, it just is in the wrong directory. I can get the image in my browser with www.mysite/ezpublish/var/storage/original/images/imagename.gif

but the scripts expects the image in the var/storage/variations directory.

Ekkehard Dörre

Monday 11 August 2003 11:50:34 pm

Look at my last posting:

http://ez.no/developer/ez_publish_3/forum/install_configuration/still_problems_with_images

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

rik lingen

Tuesday 12 August 2003 4:46:47 am

Happy days are here again!

Thanks Ekke for your input.

Your suggestion did not make the difference though and the thread looks related to my problem but concerns imagemagic?

the solution turned out to be that GD compiled with php 4.3.0 does not support gif. A jpg givens no problem at all.

to summarise:

make the changes to image.ini when using 4.3.0

[GDSettings]
HasGD2=true

[Rules]
DefaultRule=image/jpeg;gd
Rules[]=image/jpeg;image/jpeg;gd
Rules[]=image/png;image/png;gd
Rules[]=image/gif;image/png;gd
Rules[]=image/xpm;image/png;gd

and do not use gif (I can live with that)

by the way the log still gives you 2 warnings

Missing main operation memento for key: fab424e98542f98b2b35d3973614a522

Undefined variable: lang in ez/kernel/classes/ezcontentobject.php on line 1155

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.