> Is there a reasonably simple way to automatically output the width and > height of all the jpg or gif files in a directory to a text file? Quickest way using PHP would be to get a list of files on the server, then loop through them using GetImageSize (http://www.php.net/getimagesize) and write the file. Regards Mark Howells http://www.mark.ac/