3 ms·
Good to know. That wouldn't be too hard to add. Out of curiosity why do you want to view the full-resolution photos vs. the ones that are scaled to fit your sc
by irrationaljared 13y ago
Good to know. That wouldn't be too hard to add.
Out of curiosity why do you want to view the full-resolution photos vs. the ones that are scaled to fit your screen?
- larrybrid 13y agoAs a user who would also want this feature, I would say it is because you sometimes want to see full detail. If, for example, someone sends you a link to a painting or some old coins you might be buying or whatever.
- irrationaljared 13y agoFair enough. Feature added. There's now a link next to the "Download Photo" button called "View Original" when you click to view the larger photos. Update Unfortunately on Chrome this link doesn't work because the photo is stored in a way that tells Chrome to automatically download the photo. I'll have to dig in to figure out if there is a way to force the photo to be displayed instead of automatically downloaded.
- gmisra 13y agoAre your originals actually the original files? Some people have strong opinions about data leakage via EXIF metadata, specifically location and sometimes date/time. Do you strip that information out during upload/resizing? Overall, it looks great. My family would definitely use it, for similar reasons to yours. Nice work!
- irrationaljared 13y agoThe original photos are processed for more efficient storage, so I believe that all EXIF data is stripped out, but I'll have to check to make sure.
- oops 13y agoThe code/library/service responsible for storing the original file on S3 is most likely setting "response-content-disposition" to "attachment" when it stores the file on S3. That tells S3 to deliver the file with "Content-disposition: attachment" in the HTTP headers which is what causes browsers to save to disk instead of display. You want "Content-disposition: inline" or no content-disposition header.
- irrationaljared 13y agoI was able to fix this. You should be able to view the photos via the link now, but if anyone has trouble with it please let me know.
- forrestthewoods 13y agoIt's mostly due to the fact that the scaled version is only the middle ~50% of my 1920x1080 screen. I suppose what I might really want is scaled, full screen, and original.