Image Orientation
Posted: Tue Mar 31, 2015 11:52 pm
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?
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
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.