you can find some response for your problem there : http://ez.no/download/ez_publish/changelogs/ez_publish_3_3/new_image_system
# geometry/scalewidthdownonly=width- Scale image to have a width of width while maintaining aspect ratio, if the image is smaller than the given size no scaling is done
# geometry/scaleheightdownonly=height- Scale image to have a height of height while maintaining aspect ratio, if the image is smaller than the given size no scaling is done #geometry/scaleexact=width;height - Scale image to width and height without maintaining aspect ratio
The thing that I need is to resize the loner side to the specified size, and then resize the other side according to that respecting the aspect ratio. None of these settings for image conversion can do this. As far as I've seen there's no setting that does this.
Does someone know the sollution to this problem?
--
Nothing is impossible. Not if you can imagine it!
Yes Andre this does the job. I misunderstood what geometry/scaledownonly does. I tought it will scake down both sides to that size.
But now I have another problem. I would like to scale down the SHORTER side to the specified size and resize the other side respecting the aspect ratio. For example I would like to scale down two images of unknown dimensions to have the shorter side exactly 300px.
How can I do that?
--
Nothing is impossible. Not if you can imagine it!