Share » Forums » Install & configuration » Images not showing except in admin

Images not showing except in admin

Images not showing except in admin

Tuesday 22 February 2005 6:04:07 am - 4 replies

Author Message

luis muñoz

Tuesday 01 March 2005 5:24:47 am

same problem, but only with a few images in different places. Checked image magic, gd, php.ini and changed var permits to 777 owner apache user. Is very weird. any idea

thanks

Łukasz Serwatka

Tuesday 01 March 2005 6:02:33 am

Hi alain,

Could you test this code and tell about the results? What version of eZ publish do you use?

<object id="xx" size="large" align="center" />

Thank you

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

alain boudard

Tuesday 01 March 2005 6:32:19 am

Hi,

I use 3.5 EZ

Actually, I managed to show pictures, but I changed some code in the original template ...
it's certainly not the right way, but I couldn't find any better !

>> I removed every call to such code :
$object_parameters.size

removed from design/base/override/templates/embed/image.tpl:

image_class=$object_parameters.size

and 

style="width: {$object.data_map.image.content[$object_parameters.size].width}px"

it seemed that size attribute was a problem, then I just erased references to it !
If any other solution can be found, I take it, as long as I don't even understand why it didn't work !

Alain

Samuel Sauder

Tuesday 01 March 2005 12:04:38 pm

I had the same trouble. Once I looked at your solution I tried size="large" parameter in the object tag. Then my test worked! It must not pick a default size?

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

36 542 Users on board!

Forums menu