Lazythumbs acts as a PIL proxy for images stored in MEDIA_ROOT
. It looks for the requested image and, if found, generates a new image and writes it to the filesystem at MEDIA_ROOT/lt_cache
. If the request resulted in a 404, the 404 response is cached to avoid getting hammered by repeated requests for images that don't exist.
Lazythumbs can be utilized from within a Django project's templates, or from without through the image request API. Images are produced and cached from their sources on-demand.
Online documentation: http://docs.cmgdigital.com/lazythumbs.git/.
Lazythumbs is in many ways a combination of sorl-thumbnail and thumpy and owes its existence to them both.
Lazythumbs was written by nathaniel k smith for Cox Media Group and is licensed under the terms of the MIT license.