How to pregenerate image variations

Author Message

Ekkehard Dörre

Monday 23 May 2005 2:52:41 am

Hi,

in a gallery there are 10MB big images. So the first generation in first git takes a lot of time. Is there a posibility in ez to generate the small, large etc. images automatically?

Now I take httrack, but this is manually.

Thanks in advance,

ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Frederik Holljen

Tuesday 24 May 2005 2:40:06 am

Hi,

There is currently no such script or functionality. It should be very easy to make however, simply write a script that requests all the objects with the images and request the alias of the image variations you want. This will force eZ publish to create them.

Frederik

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 01:02:07
Script start
Timing: Jan 19 2025 01:02:07
Module start 'layout'
Timing: Jan 19 2025 01:02:07
Module start 'content'
Timing: Jan 19 2025 01:02:07
Module end 'content'
Timing: Jan 19 2025 01:02:07
Script end

Main resources:

Total runtime0.0192 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.0064 593.0234152.6406
Module start 'layout' 0.00640.0040 745.664139.4766
Module start 'content' 0.01050.0058 785.140689.2734
Module end 'content' 0.01630.0028 874.414130.3047
Script end 0.0191  904.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003116.2068140.0002
Check MTime0.00136.8309140.0001
Mysql Total
Database connection0.00115.725810.0011
Mysqli_queries0.003619.036830.0012
Looping result0.00000.125710.0000
Template Total0.002110.810.0021
Template load0.00126.300810.0012
Template processing0.00094.505010.0009
Override
Cache load0.00094.634410.0009
General
dbfile0.00147.074980.0002
String conversion0.00000.068440.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