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..

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 16:02:53
Script start
Timing: Jan 18 2025 16:02:53
Module start 'layout'
Timing: Jan 18 2025 16:02:53
Module start 'content'
Timing: Jan 18 2025 16:02:54
Module end 'content'
Timing: Jan 18 2025 16:02:54
Script end

Main resources:

Total runtime0.9270 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0086 587.9141152.6250
Module start 'layout' 0.00860.0032 740.539139.4453
Module start 'content' 0.01180.9139 779.9844427.3281
Module end 'content' 0.92570.0013 1,207.31258.1641
Script end 0.9270  1,215.4766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3752160.0002
Check MTime0.00130.1449160.0001
Mysql Total
Database connection0.00070.077910.0007
Mysqli_queries0.882095.1415520.0170
Looping result0.00050.0490500.0000
Template Total0.894096.420.4470
Template load0.00190.201220.0009
Template processing0.892196.234220.4461
Template load and register function0.00020.025210.0002
states
state_id_array0.00080.088910.0008
state_identifier_array0.00120.134720.0006
Override
Cache load0.00160.1694200.0001
Sytem overhead
Fetch class attribute can translate value0.00070.078110.0007
Fetch class attribute name0.00100.108420.0005
XML
Image XML parsing0.00010.010310.0001
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00120.1331100.0001
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs