I want users to upload their high-resolution image files for safe-keeping. They may want to print them or do something else in the future that requires starting with the full version of the file.
For regular display, I will present a smaller version, e.g. 1024x800. But they will have the option of retrieving the multi-mega-pixel file.
I could store that in some kind of a zip file and save a lot of disk space, but is there a way to make my webserver serve up the image out of that zip?
Browser: GET MyBigImage.jpg Server: load MyBigImage.jpg.zip and return MyBigImage.jpg.
I am thinking of this in the context of Apache or Nginx, but will consider solutions with any web server.
I'm not really interested in running an optimization on the file and storing only that optimized version as is suggested at How does Google's Page Speed lossless image compression work? .
Thanks!