This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » eZ Publish 5 Platform » Images in XML block don't show
expandshrink

Images in XML block don't show

Images in XML block don't show

Monday 22 July 2013 1:25:46 pm

Hi,

 I'm trying to show an XML block in my template with

 {{ ez_render_field( notes, 'text' ) }}

It seems to work for text in various styles (bold, italic, etc.) but images are not displayed. Where the image should be there are three nested div:

<div class="content-view-embed">
<div class="class-image">
<div class="attribute-image"/>
</div>
</div>

The image is shown correctly in the admin interface or if using the legacy stack with the url ezdemo_site_clean/content/view/full/81.

Does the ez_render_field not work in 2013.5 ?

[ It seems that the problem is only for images loaded from the XML block WYSIWYG interface, embedded images that were loaded from the media library are displayed]

No reply yet!

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from