added image dimensions to image preview

Added a function that formatted the getimagesize method to just the
dimensions and removed the file created date/time as it was not
reliable.