This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Developer » Display image with xml bloc

Display image with xml bloc

Display image with xml bloc

Friday 13 September 2013 10:07:03 am - 2 replies


Sorry for my bad english, 

I have a problem when i want add an image in xml bloc.

I have no problem when adding the image in my xml block (admin) but when publishing.

The display I have a link and not the image.

I have : <div class="object-right">    <a href="/Media/Images/Penguins">Penguins</a></div>

I added the image to embeb.

I have no idea...


Best regards

Modified on Friday 13 September 2013 11:28:36 am by Boquet Mathieu

Wednesday 18 September 2013 8:18:31 am

Hi, Boquet.

This could be a problem of access rights. Try giving the user admin access policies temporarily, and see if it makes a difference.

Tuesday 01 October 2013 4:40:57 pm

Hello Boquet,

The Link to the image is default function in eZ Publish.

I suggest to make a file override in your design extension for:

In that file check "{if $object.class_identifier|eq( 'image' )}"
And use the attribute_view gui on the image, instead of linking to the object.


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

36 542 Users on board!

Forums menu

Proudly Developed with from