I've made a photoalbum-type of perl file that displays all the jpg files in a certain folder. It also shows what is a folder and then links to that folder to display further pictures. The perl script displays thumbnails of the pictures; however, I have set the size of the thumbnail to be the same for all. For example, it is set to 192 by 144. When I attempt to change this to a percentange, because different pictures look distored with these deminsions, it messes up the table in which the pictures are being displayed. Perhaps it is the HTML in my script and nothing is wrong with the script, but my main questions is: Is it possible to read a file's demensions through a perl script?