how to make gallery display pictures in their original size

Author Message

Augusto César Díaz

Thursday 22 December 2005 6:33:32 am

Hi all

I have a standar gallery, what I want is that when anybody clicks a picture then it's supposed to appear alone and bigger, but i want it to appear in it's original size...

anybody?

Augusto Cesar Diaz

Siw Helen Thorslund

Friday 23 December 2005 3:00:21 am

Do you want it to appear like it does here?

http://mediabase.no/index.php/demo_download/images

(Click on the image for larger view)

The difference in these pictures is the image class used, like here where "articlethumbnail" is used

{attribute_view_gui alignment=right image_class=articlethumbnail attribute=$node.object.data_map.image.content.data_map.image}

If you want to display the original, just chage to:

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

You say you want it to display alone. This you can do through a tpl with the code above (prefered), or you can also display by path to the original picture.

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

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 19 2025 04:18:08
Script start
Timing: Jan 19 2025 04:18:08
Module start 'layout'
Timing: Jan 19 2025 04:18:08
Module start 'content'
Timing: Jan 19 2025 04:18:08
Module end 'content'
Timing: Jan 19 2025 04:18:08
Script end

Main resources:

Total runtime0.6603 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 589.4141152.6563
Module start 'layout' 0.00480.0025 742.070339.5078
Module start 'content' 0.00740.6515 781.5781523.7266
Module end 'content' 0.65880.0014 1,305.30478.0938
Script end 0.6603  1,313.3984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5071160.0002
Check MTime0.00140.2138160.0001
Mysql Total
Database connection0.00080.120110.0008
Mysqli_queries0.612392.7223540.0113
Looping result0.00070.1086520.0000
Template Total0.630495.520.3152
Template load0.00230.346020.0011
Template processing0.628195.126520.3141
Template load and register function0.00030.042710.0003
states
state_id_array0.00080.118010.0008
state_identifier_array0.00080.121220.0004
Override
Cache load0.00180.2759160.0001
Sytem overhead
Fetch class attribute can translate value0.00090.132720.0004
Fetch class attribute name0.00200.301330.0007
XML
Image XML parsing0.00060.094520.0003
class_abstraction
Instantiating content class attribute0.00000.001730.0000
General
dbfile0.00170.2582160.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs