I'm working on making my classifieds more mobile friendly, and right now I'm working on those pictures that users submit with their ad.
When they submit the ad, I store it in 3 sizes: a thumbnail size of 70x70, a page-friendly size with 300px width, and I store a larger copy that's 1000px width.
I currently have it set so that the 300px version shows on the page, and if the user clicks on it then I open a page via Ajax that loads the larger copy at 90% of their viewport width (so it's layered on top of the main page) with a maximum width of 1000px.
What I'm noticing, though, is that mobile users want to be able to stretch this image to zoom in. But that doesn't really work out well, it stretches the entire page and still pixelates the 1000px image.
What do you recommend doing as an alternative? I'm considering storing their original size instead of shrinking it to 1000px, and then in the ajax script maybe use an iFrame so that it'll stretch within the frame?
Also, the original images are often HUGE (why do these phones need to take a 200MP photo that takes up 40MB?!), and that requires an unrealistic amount of storage. What size should I really make them?