javascript - PHP/JS - Create thumbnails on the fly or store as files -


for image hosting web application:

for stored images, feasible create thumbnails on fly using php (or whatever), or should save 1 or more different sized thumbnails disk , load those?

any appreciated.

save thumbnails disk. image processing takes lot of resources and, depending on size of image, might exceed default allowed memory limit php. less of concern if have own server application running still takes lot of cpu power , memory resize images. if you're considering creating thumbnails on fly anyway, don't have change - upon first request, create thumbnail source file, save disk , upon subsequent requests read off disk.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -