Pre-generate thumbnails using convert of imagemagick in a Linux or Mac terminal
Previously I wrote some articles about how to handle the thumbnails in PHP:
https://en.jveweb.net/archives/2010/09/how-to-create-scaled-thumbnails-in-php.html https://en.jveweb.net/archives/2010/09/how-to-create-cropped-and-scaled-thumbnails-in-php.htmlThis articles talks about the creation of thumbnails on the fly, somebody requests it, it is then created, served, and removed.