Resize an Image

Author Message

Daniel Guerrier

Monday 04 April 2005 8:01:37 pm

I am using the image gallery and I don't see a way to dynamically resize images. Went thru the docs and the only images template functions have nothing to do with resizing.
I would like to proportionally set the height depending on what the width is and vice-Versa.

How would I go about doing this?

Thanks.

Eivind Marienborg

Monday 04 April 2005 11:33:23 pm

Check out this:
http://www.ez.no/ez_publish/download/changelogs/ez_publish_3_3/new_image_system

It might help.

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

Main resources:

Total runtime0.7557 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.0057 587.7891152.6094
Module start 'layout' 0.00570.0034 740.398439.4297
Module start 'content' 0.00910.7451 779.8281490.5938
Module end 'content' 0.75420.0015 1,270.42198.3516
Script end 0.7557  1,278.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4720160.0002
Check MTime0.00140.1846160.0001
Mysql Total
Database connection0.00100.127110.0010
Mysqli_queries0.709993.9319540.0131
Looping result0.00060.0779520.0000
Template Total0.721595.520.3608
Template load0.00230.303720.0011
Template processing0.719295.169620.3596
Template load and register function0.00020.025910.0002
states
state_id_array0.00110.149510.0011
state_identifier_array0.00110.141820.0005
Override
Cache load0.00180.2418120.0002
Sytem overhead
Fetch class attribute can translate value0.00060.079920.0003
Fetch class attribute name0.00090.123630.0003
XML
Image XML parsing0.00200.260920.0010
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00210.2834160.0001
String conversion0.00000.000840.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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs