fix thumbnails so photos show instead of thumbnail icon