Andrew Ingram
88cd5bff0f
Tweaked BaseImageHandler slightly to load overridden mods rather than ImageModifier itself
il y a 14 ans
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
il y a 14 ans
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
il y a 14 ans
AndrewIngram
0303a1ceb4
Fixed a comment that was no longer accurate
il y a 14 ans
David Winterbottom
56592c6948
Added error handling for when an item exists in the DB but not on the filesystem
il y a 14 ans
John Papanastasiou
ba62983600
Extended import_images managament command to support archives
il y a 14 ans
Andrew Ingram
db4820d9ee
Tidied up image resizer templatetag and stopped it causing unit tests to break
il y a 14 ans
Andrew Ingram
56924af7db
Change: Made image resizer conform to pep8 as much as possible
il y a 14 ans
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
il y a 14 ans
David Winterbottom
8d345ed7d5
Removed empty views file
il y a 14 ans
David Winterbottom
8298207f7b
Reworked use of import_module in several apps
il y a 14 ans
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.
il y a 14 ans
David Winterbottom
7b03c1193f
Removed empty views file
il y a 14 ans
David Winterbottom
c3d4f57682
Reworked use of import_module in several apps
il y a 14 ans
David Winterbottom
3f66915a3d
Refactored image import
il y a 14 ans
David Winterbottom
11fcdbca16
Refactored image import
il y a 14 ans
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.
il y a 14 ans
David Winterbottom
887d605757
Refactored folder structure to use an 'apps' folder
il y a 14 ans