Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

Image Orientation

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?

Egor Kotov6832188
Posts: 0
Joined: Wed Nov 19, 2014 5:15 pm

Image Orientation

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.

Return to “Issues”