Forums / Setup & design / Template fails to render image in correct size

Template fails to render image in correct size

Author Message

Martin Crockett

Wednesday 09 February 2005 10:54:56 am

Hi,

I have a serious issue when trying to display images from an article class.

My images are being displayed with the thumbnail only (not full size) and with a text link underneath them.

This is my code:

    {section show=$node.object.data_map.image.has_content}
        {* image available *}
            <div class="imageright">
      	 		{attribute_view_gui attribute=$node.object.data_map.image}
      		</div>
    {/section}

The images were apparently showing as normal before at some stage. I cannot identify what has caused this to change.

I have manually cleared the cache. I am using eZ Publish 3.5.

Thanks in advance for any information that can solve this problem.

Best,

Martin

Ɓukasz Serwatka

Wednesday 09 February 2005 12:46:34 pm

Did you try this?

{attribute_view_gui image_class=original attribute=$node.object.data_map.image}

Did you add override template for image class or change something in image.ini?

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

Martin Crockett

Wednesday 09 February 2005 1:01:51 pm

Thanks for the reply, Lukasz.

"Did you try this?"

{attribute_view_gui image_class=original attribute=$node.object.data_map.image}

--> Yes. Same result as before, unfortunately. Thumnail & text displayed.

"Did you add override template for image class or change something in image.ini?"

--> Not to my knowledge. To both.

Seems like other people have had similar problems before.