Page 1 of 1

Image Orientation

Posted: Tue Mar 31, 2015 11:52 pm
by Aeneas McBurney

I have an image component that I want to be either 100x142 or 142x100 depending on the image uri asset orientation. Is there an easy way to do this?


Image Orientation

Posted: Wed Apr 01, 2015 5:43 am
by Egor Kotov6832188

Hello Aeneas,

I think no, cause you can't figure out size of image by uri.
The closest solution that I can image is to create invisible image on the page, set it with value, then check size, and based on size set correspond orientation for target image component.