Same image names

Author Message

Derby Web

Tuesday 20 January 2004 1:56:05 am

I need to check image names after each uploading because EzP often gives same names to different images. And if the image already exists EzP overwrties it!

EzP 3.3-1, PHP 4.3.4 Apache 2.0.48

Jan Borsodi

Tuesday 20 January 2004 6:26:30 am

Are you really sure this happens?

The names generated from images can be the same but the path will differ, just take a look at the full image path.

Also when working with drafts and uploading new images they will all get unique names since an internal counter is added to the name.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Derby Web

Tuesday 20 January 2004 8:45:15 am

How path can be different when all images are placed in original/images folder? Ive use no variations.

Jan Borsodi

Wednesday 21 January 2004 1:26:48 am

You did say you used 3.3 and in 3.3 the storage for images is changed, now they are stored in var/storage/images and var/storage/images-versioned for temporary versions, all with unique path.

The var/storage/original/image was used in 3.2 and earlier versions, so if you experience problems with this it means you do not have 3.3 but 3.2 or earlier.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Derby Web

Wednesday 21 January 2004 4:36:48 am

Thanx, you are absolutly right ! :) 3.2-4
I`ve downloaded and tested many versions because of ugly bug with uneditable objects in 3.2-2. So i forgot what version i had installed :)

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

Main resources:

Total runtime0.0214 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 587.7891152.6094
Module start 'layout' 0.00690.0073 740.398439.4063
Module start 'content' 0.01420.0054 779.804793.2656
Module end 'content' 0.01950.0018 873.070334.3047
Script end 0.0214  907.3750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002712.8433140.0002
Check MTime0.00115.3611140.0001
Mysql Total
Database connection0.00156.913710.0015
Mysqli_queries0.004922.678330.0016
Looping result0.00000.136010.0000
Template Total0.00156.910.0015
Template load0.00083.736110.0008
Template processing0.00073.168710.0007
Override
Cache load0.00052.539010.0005
General
dbfile0.00031.169280.0000
String conversion0.00000.075840.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