All image operations are done with proportions intact. The sizes set in site.ini only controls the desired size, if one side of an image is larger than the other that side will be longer than the specified size and the other side will have the exact pixel size.
I think I didn't phrase my question as well as I could have. Let me try again.
Is it possible to size the images based on set percentages? For example:
small: 25% of original image size
medium: 50% of original image size large: 100% of original image size
Thanks!
Alex
Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]
Look http://www.imagemagick.org/www/convert.html for the possibilities of imagemagick or in php
http://de.php.net/manual/en/function.imagecopyresized.php the posting with function imagecopypercentsize
ekke, I appreciate the reply. I have begun tracking down the code that performs the scaling and am modifying it to do what I need. I was hoping to avoid editing the code directly as I don't like the risk of overwriting it in a future upgrade, but I think it is unavoidable. Ahh well. When I have a solution I will post it for others. :)
Thanks!
Alex
Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]
<i>When in doubt, clear the cache.</i>
You must be logged in to post messages in this topic!