Change images dimensions

Author Message

lorenzo messori

Tuesday 10 May 2005 3:14:33 am

Hi all,
how is possible to change the images dimensions?
4 example i would like to change them in the design/base/override/templates/embed/image.tpl but i don't know how...
Another question about this template:
when i embed some images, behind every images, the template insert a <br/> tag... that i don't want... is possible to delete it?

Thx previously and sorry for my bad english

Bye all

Ɓukasz Serwatka

Wednesday 18 May 2005 1:20:32 am

Hi Lorenzo,

All dimensions you can change in settings/image.ini. You will find good examples in image.ini file.
It`s recommend to add new configuration settings in override file image.ini.append.php

Then you can use new dimension like

{attribute_view_gui attribute=$node.object... image_class=your_new_size}

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 22:28:56
Script start
Timing: Jan 18 2025 22:28:56
Module start 'layout'
Timing: Jan 18 2025 22:28:56
Module start 'content'
Timing: Jan 18 2025 22:28:56
Module end 'content'
Timing: Jan 18 2025 22:28:56
Script end

Main resources:

Total runtime0.0161 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 589.3594152.6250
Module start 'layout' 0.00510.0036 741.984439.4453
Module start 'content' 0.00870.0056 781.429789.4453
Module end 'content' 0.01420.0018 870.875030.3047
Script end 0.0161  901.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002515.8349140.0002
Check MTime0.00116.5758140.0001
Mysql Total
Database connection0.00063.599110.0006
Mysqli_queries0.003119.085830.0010
Looping result0.00000.091910.0000
Template Total0.00148.810.0014
Template load0.00085.033310.0008
Template processing0.00063.733910.0006
Override
Cache load0.00053.311610.0005
General
dbfile0.00031.893680.0000
String conversion0.00000.045940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs