Andrew Ingram
88cd5bff0f
Tweaked BaseImageHandler slightly to load overridden mods rather than ImageModifier itself
15 years ago
Andrew Ingram
3135537d73
Removed apache sendfile backend because I haven't checked it works yet.
Tweaked DiskCache backend to work correctly with Nginx's X-Accel_Redirect
15 years ago
Andrew Ingram
163e856480
Added concept of response backends to image resizer, so it's now trivial to use something like X-Sendfile and X-Accel-Redirect rather than serving the image data directly through the app.
Moved exceptions into their own module to avoid circular imports
15 years ago
AndrewIngram
0303a1ceb4
Fixed a comment that was no longer accurate
15 years ago
David Winterbottom
56592c6948
Added error handling for when an item exists in the DB but not on the filesystem
15 years ago
John Papanastasiou
ba62983600
Extended import_images managament command to support archives
15 years ago
Andrew Ingram
db4820d9ee
Tidied up image resizer templatetag and stopped it causing unit tests to break
15 years ago
Andrew Ingram
56924af7db
Change: Made image resizer conform to pep8 as much as possible
15 years ago
Andrew Ingram
c0aa4b0eef
Changes: Image Resizer - Refactored code slightly to split mods and cache into separate modules. Added support for overriding installed mods and cache backend with settings rather than subclassing ImageModifier and BaseImageHandler
15 years ago
David Winterbottom
8d345ed7d5
Removed empty views file
15 years ago
David Winterbottom
8298207f7b
Reworked use of import_module in several apps
15 years ago
Andrew Ingram
437aff4635
Addition: First version of dynamic image resizer/cropper
Designed to be extensible/subclassed. Has a basic disk caching mechanism. Includes resizing and cropping mods.
15 years ago
David Winterbottom
7b03c1193f
Removed empty views file
15 years ago
David Winterbottom
c3d4f57682
Reworked use of import_module in several apps
15 years ago
David Winterbottom
3f66915a3d
Refactored image import
15 years ago
David Winterbottom
11fcdbca16
Refactored image import
15 years ago
Andrew Ingram
c09d0370fa
Addition: Basic import_images management command, will iterate over a directory and try to match found images against Items and create Image models.
15 years ago
David Winterbottom
887d605757
Refactored folder structure to use an 'apps' folder
15 years ago