Forums / Setup & design / Image in the folder-class

Image in the folder-class

Author Message

Osichr Hayez

Thursday 12 January 2006 3:41:09 am

I've modified the folder class to contain an image, just like the article-class.

In my template I write out the image with this code:

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

this is the exact same code as I use in my article template. It works for the articles.

But in the folder, the picture is displayed, but not in the size I've specified in image.ini (articleimage). Only a small (100px wide) picture is displayed.

Why?

And what template do I have to edit?

(version 3.6.4)

Osichr Hayez

Thursday 12 January 2006 6:59:13 am

oki, I found the template in:
base/override/templates/textlinked/image.tpl

If I edit it, I get the results I want by replacing

attribute_view_gui attribute=$object.data_map.image image_class=small}

with this:

attribute_view_gui attribute=$object.data_map.image image_class=articleimage}

But now I modified this file directly, instead of making an override in my 'plain' directory. How can I locate this file in the admin interface template overview, to make an override?

I've tried to go through the 40 pages templates but I cant find it..