modified photos to scale to thumbnails