resize images and accounts for exception when converting EXIF date