Recreate image variations?

Author Message

Paul Borgermans

Tuesday 21 October 2003 2:07:14 am

Hello

Does anyone know how to recreate image variations apart from uploading a new file (re-publishing does not work)?

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Paul Forsyth

Tuesday 21 October 2003 2:15:31 am

Aren't variations created when the object is viewed? Maybe its a permissions issue.

paul

Paul Borgermans

Tuesday 21 October 2003 4:29:35 am

Tx for replying,

The trouble is for images (.bmp) which had no rule to convert to in image.ini. After adding the rule, new .bmp files get correct image variations, the older ones do not. Apperently the "reference" image is only created when a new file (.bmp) is submitted.

I think we need a script to recreate all reference images and variations for the case something is changed in image.ini

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Paul Forsyth

Tuesday 21 October 2003 5:47:38 am

I see what you mean now. Variations will appear but they do need the reference images to work from...

Hopefully the new image system will cover this issue?

Paul

Jan Borsodi

Wednesday 22 October 2003 4:38:42 am

> Hopefully the new image system will cover this issue?

Yes, all variations/aliases will be recreated if the image variation file is missing or the variation settings change.

--
Amos

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

Marco Zinn

Friday 24 October 2003 12:12:13 pm

Paul,
there is a table called something like "ezimagevariations". I think, emptying that will make ez re-create ALL variations (if you can afford this).

Marco
http://www.hyperroad-design.com

Paul Borgermans

Friday 24 October 2003 1:23:34 pm

Clearing the table only works when there is a valid reference image created. When you change image.ini settings this may invalidate the current reference images (or maybe absent if you forgot to add the right rules for conversion)

If I understand the svn checkin comments right, this issue (will|is) also being dealt with

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Marco Zinn

Saturday 25 October 2003 12:21:48 am

Ah, of course, you are right. You need a new reference image and my hint will not help you there.

Marco
http://www.hyperroad-design.com

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