djangosnippets.org: Latest snippets posted by peterwhttps://djangosnippets.org/users/peterw/2008-11-07T14:56:42.441593-06:00peterwGenerate thumbnails on save
2008-11-07T14:56:42.441593-06:00peterwhttps://djangosnippets.org/snippets/1172/<p>This is an override the save method of our Photo model. This new save method essentially takes the image, thumbnails it into our various sets of dimensions (for … in self.IMAGE_SIZES…), and save each one (into its own ImageField) before finally call the overwritten method to save the original image. …</p>
Freely redistributable