Size of Original image?

Author Message

Philipp Melab

Monday 22 March 2004 11:42:49 pm

I have a thumbnail gallery with popups who show the original image files. I want to make the popup-windows appear in the right size, so i have to determine the original-images size. Is there something like "$node.object.data_map.image[original].width/height"?

yours Philipp

James Packham

Tuesday 23 March 2004 5:17:24 am

You were REALLY close:

$node.data_map.logo.content.original.width
$node.data_map.logo.content.original.height

logo should be replaced by the indentifier of your image :)

Regards,

James

Démian B.

Monday 09 May 2005 7:09:24 am

Hello,

Phillipp, what can i do to see the original pictures when i click on a thumbnail in ez 3.5 ? With popups or not. In ez 2.2 it was in the file site.ini ---> ShowOriginal=enabled/disabled in the ezImageCatalogue "section".

Lot of Thanks

I've got you in my sight

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

Main resources:

Total runtime0.6284 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 590.2813152.6250
Module start 'layout' 0.00550.0033 742.906339.4453
Module start 'content' 0.00880.6180 782.3516568.4297
Module end 'content' 0.62680.0016 1,350.78138.1719
Script end 0.6283  1,358.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5911160.0002
Check MTime0.00140.2184160.0001
Mysql Total
Database connection0.00080.131310.0008
Mysqli_queries0.562289.4634590.0095
Looping result0.00070.1082570.0000
Template Total0.586093.320.2930
Template load0.00270.430220.0014
Template processing0.583392.829320.2917
Template load and register function0.00020.037610.0002
states
state_id_array0.00120.198410.0012
state_identifier_array0.00110.171220.0005
Override
Cache load0.00230.3703180.0001
Sytem overhead
Fetch class attribute can translate value0.00080.134630.0003
Fetch class attribute name0.00240.389750.0005
XML
Image XML parsing0.00360.569130.0012
class_abstraction
Instantiating content class attribute0.00000.003350.0000
General
dbfile0.00340.5360210.0002
String conversion0.00000.001840.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
3content/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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs