i have made an image gallery that loads in images from an
external file using a txt file to determine the total number of
images. the images are either horizontal or vertical (800x600 or
600x800). I have it where the images are just named by number (i.e.
1.jpg, 2.jpg, etc.). How can I make it so that the image holder
knows what the dimensions are of the loading image, resizes
accordingly, then if the image is vertical, change the _x value?