I'm building a Web application that will eventually contain a lot of images. These images will need to be displayed in different formats across the site. What would be the pros/cons of the two solutions:
- Storing various versions of the picture when they are uploaded (e.g. thumb, small, medium, large, verylarge)
- Resizing the image through the URL - e.g. /Content/Image/1?height=300
What do you think?
Edit: I had a really hard time accepting one answer over the other, so for anyone reading this q/a, take your time to read both answers because the accepted answer was selected by the flip of a coin :) They're both equally good.