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?
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?
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.