Image and Zip File

Author Message

Carlos Revillo

Thursday 27 October 2005 10:23:05 am

Hi again. Maybe this is a silly question, but i'll try. I'm working with images now, and i wonder if is there a way to create a zip file of the image i'm uploading.
I've resolved the problem creating a class with two fields, (image and file types), but i wonder if is there a way to do in in one step. thanks

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 31 2025 06:16:08
Script start
Timing: Jan 31 2025 06:16:08
Module start 'layout'
Timing: Jan 31 2025 06:16:08
Module start 'content'
Timing: Jan 31 2025 06:16:08
Module end 'content'
Timing: Jan 31 2025 06:16:08
Script end

Main resources:

Total runtime0.0120 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.0037 588.0078151.1953
Module start 'layout' 0.00370.0018 739.203136.6172
Module start 'content' 0.00560.0050 775.820385.9844
Module end 'content' 0.01060.0015 861.804729.9922
Script end 0.0120  891.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002117.1358140.0001
Check MTime0.00108.0740140.0001
Mysql Total
Database connection0.00054.307210.0005
Mysqli_queries0.001714.321130.0006
Looping result0.00000.075210.0000
Template Total0.00119.410.0011
Template load0.00097.155610.0009
Template processing0.00032.183310.0003
Override
Cache load0.00065.146510.0006
General
dbfile0.001613.159180.0002
String conversion0.00000.043540.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