SPACE.LA
← portfolio

osGallery

osGallery

osGallery is on open source PHP MySQL image gallery. It uses either GD or Imagemagick libraries, and caches resized images for faster loading times.

osGallery is built on a custom modular system that allows modules to easily be added including the built in blog module.

http://osgallery.com

Cache The Resize

Open source PHP and MySQL image gallery. GD or ImageMagick, whichever the host had, and once it resized an image it kept the result instead of redoing it on every page load. On 2006 shared hosting, spawning ImageMagick for every thumbnail in a fifty-photo album would get your process killed, so caching the resize was what made it work.

The rest was modular, with a blog module already built to show that modules worked. I kept building things this way: Gemini had it, MinorCMS was a lighter version, and RegPuppy got its own framework with templates and GD-rendered fonts.

osgallery.com was up from March 2004 and stayed up into 2016.

It went with Libra and osFileManager, the open source stuff I gave away while the paid work was bots and hosting.