Forums / Setup & design / images in articles not displyed

images in articles not displyed

Author Message

Finn David Nilsen

Sunday 25 January 2004 2:24:56 pm

I'm having trouble displaying images in articles, images put in by "related objects". Images is not displayed in the artice, only a link.

"Thumbnail image", also shown at the frontpage, are displayed correct.

Full view of article at the adminsite, displays both images correct...

I use online editor 1.3, eZ ver 3.3-2

Some hints?

Finn David

Wenyue Yu

Monday 26 January 2004 3:46:42 am

Hi,

You need to override embed.tpl in your design.

Example:
In override.ini.append
[embed_image]
Source=content/view/embed.tpl
MatchFile=embed_image.tpl
Subdir=templates
Match[class]=5

then put embed_image.tpl to your_design_name/override/templates/.

embed_image.tpl can be copied from admin/override/templates.

Regards,
Wenyue Yu

Finn David Nilsen

Monday 26 January 2004 7:35:22 am

It works!
Thank you...!!!

Finn David

Adelino Monteiro

Wednesday 04 February 2004 7:32:43 am

I'm having exactly the same problem. I did the above but I must have done something wrong since I can't get it to work.
Is there any documentation more on this?

Thanks
AM

Marco Zinn

Wednesday 04 February 2004 12:06:43 pm

Adelino, did you clear the (template) caches... or "all caches"?

Marco
http://www.hyperroad-design.com