Forums / General / Recreate image variations?
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
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
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
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
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.