Page 1 of 1

Different images or one images and resize on the fly

Posted: Mon Feb 05, 2007 3:31 pm
by 50cc
I'm building a site where users can upload images, other users can view these images in different size (preview, normal and full screen (more size in future version of the site...)). What would be better, storing one full-size version of the image and resize on the fly, or have multiple version of the same image in different sizes?

Posted: Mon Feb 05, 2007 3:36 pm
by feyd
Store the different versions, but be able to recreate them if the stored version is missing. This way you can also have a script clean the cache of files every so often to remove old, unused files.