Problems with image.ini and image objects

Author Message

Alejandro Dominguez

Thursday 28 April 2011 4:19:32 am

Hello guys,

I has been changing the image.ini file of my siteaccess to create my custom image Alias. When I have resized three images for a list of articles in eZ Flow template I have noticed that for each article all the images (the once shown in the frontapage and the internal images shown in full view) of this three articles have been resized and stored , so I have lost the original images with full size.

Any ideas of what is wrong? I have more than +1000 images so it could be very painfull

PD: I'm going to backup my site now!

Quoc Huy Nguyen Dinh

Tuesday 03 May 2011 5:29:51 am

You shouldn't lose the original versions. When creating an Alias, the original is untouched and a new version is created according to the alias settings. The images you see in frontend and full view in the admin are also alias versions.

To verify, in firefox, right click on the image and click on Copy Image Location, the URL will be ending with '_aliasname.jpg' remove '_aliasname' and you should have the URL to the original image

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 02:06:09
Script start
Timing: Jan 18 2025 02:06:09
Module start 'layout'
Timing: Jan 18 2025 02:06:09
Module start 'content'
Timing: Jan 18 2025 02:06:10
Module end 'content'
Timing: Jan 18 2025 02:06:10
Script end

Main resources:

Total runtime0.8187 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.0062 589.1563152.6406
Module start 'layout' 0.00630.0032 741.796939.4844
Module start 'content' 0.00940.8077 781.2813505.0938
Module end 'content' 0.81710.0016 1,286.37508.1250
Script end 0.8187  1,294.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4307160.0002
Check MTime0.00140.1658160.0001
Mysql Total
Database connection0.00070.090610.0007
Mysqli_queries0.771594.2285540.0143
Looping result0.00060.0687520.0000
Template Total0.786596.120.3932
Template load0.00210.260720.0011
Template processing0.784395.799120.3922
Template load and register function0.00020.030110.0002
states
state_id_array0.00070.091410.0007
state_identifier_array0.00170.212920.0009
Override
Cache load0.00180.2140120.0001
Sytem overhead
Fetch class attribute can translate value0.00070.091020.0004
Fetch class attribute name0.00130.157340.0003
XML
Image XML parsing0.00450.554720.0023
class_abstraction
Instantiating content class attribute0.00000.000840.0000
General
dbfile0.00430.5193240.0002
String conversion0.00000.001540.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs