3.5 -> How can I recreated image variations

3.5 -> How can I recreated image variations

Tuesday 15 March 2005 10:40:42 pm - 5 replies

Author Message

Eirik Alfstad Johansen

Wednesday 16 March 2005 12:31:41 am

Hi Adolfo,

I too thought that unexisting image variations automatically created themselves. Have you tried turning on debugging to see what it says when you load the page with the missing image?

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Kristian Hole

Wednesday 16 March 2005 3:05:50 am

Hi

The empty image tag usually means your webserver does not have writeaccess to the correct directory.

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Adolfo Barragán

Wednesday 16 March 2005 3:19:44 am

I turn on Debug and I can see that original image an directory not exists (the version is 2, not 1).

I've created the directory with the original file and it working Ok.

Thanks to all
Adolfo Barragán

Jorge estévez

Thursday 17 November 2005 7:15:41 am

Is there a "human" way to recreate images variations.

Please give me some hints to recreate all images , I have changed the sizes of variations and I would like to have all the images done again..

thanks

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

zurgutt -

Thursday 17 November 2005 3:11:43 pm

Really need a solution for that too - over 30000 images in system and the jpg compression value was upped, need to remove old variations.

Deleting file does not help.

hmm.. (half a hour later)

Ok, i found it strange that even new images did not look better after quality change so i replaced the convert command to see whats going on and lo:

/usr/bin/convert | -quality 85 -geometry 100x100> -geometry 250x250 var/plain/storage/images/testing/proov4/425603-1-nor-NO/proov4.jpg JPEG:var/plain/storage/images/testing/proov4/425603-1-nor-NO/proov4_small.jpg

Downsizing to 100x100 as first step really does not help :) I had forgot to add
Filters[]
before
Filters[]=geometry/scaledownonly=250;250
in my image.ini override, so 100x100 default came in too from main ini.

WHAT THE HELL - all images instantly became of better quality? What made the variants update?

(a hour and some later)

Well at first it seemed ez recreates variants at every load but through some experimentation i found out that clicking CLEAR ALL CACHES in admin will force ez to invalidate old ones and recreate each variant that is encountered in pageload, although the old FILES are NOT removed by cache clean. Even more strangery, invoking any clean cache options (except Clear All) separately from popup does NOT invalidate old images, only the clear all option does.

What the hell is going on here??

At least one thing is good tho - just a click to "clear all caches" will essentially update all image variants on site.

Certified eZ developer looking for projects.
zurgutt at gg.ee

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.