Commit graph

25 commits

Author SHA1 Message Date
Bryan Veloso
0ddff78068 We no longer import *. 2011-10-11 02:10:38 +09:00
Bryan Veloso
5e72d9f5e4 Prefer cStringIO. 2011-10-11 02:08:05 +09:00
Bryan Veloso
db86d7ed66 Killing off some stray tabs. 2011-10-11 01:12:30 +09:00
unknown
e295c9c039 error fix: https://github.com/jdriscoll/django-imagekit/issues/25 2011-09-12 17:43:53 +08:00
Markus Kaiserswerth
3e3302c7f7 Improve fault tolerance of Accessor._delete()
Handle/ ignored NotImplementedError and IOError which might get thrown
by the storage backend on delete.
2011-08-26 16:42:14 +02:00
Josh Ourisman
5976a512e6 allowing any fields on the object to be specified for use in naming of generated images; default to allowing pk 2011-06-28 14:27:47 -04:00
Josh Ourisman
9845befd96 Added the pk of the object into the dictionary of values passed to the string formatting for cache_filename. 2011-06-28 11:08:05 -07:00
Bryan Veloso
c566378764 Accessor._delete() and Accessor._exists() needed conditionalizing as well. ikflush was yelling at me. 2011-02-13 05:52:07 +08:00
Greg Newman
2b80ccf2e3 patch applied badly, fixing if 2011-02-12 04:12:37 +08:00
Greg Newman
34a2640cf5 if the ImageField is null and not required, don't create 2011-02-12 04:06:19 +08:00
Bryan Veloso
ea35379fd2 Don't create the image if spec.pre_cache is True. 2011-02-10 16:23:36 -08:00
Justin Driscoll
4ce59d3e31 Reverted changes to cache path that could possible cause filename collisions 2010-04-22 16:39:51 -04:00
Justin Driscoll
02019f7263 Imagekit not longer uses the appends the upload_to path of the image when generating the cache filename. The new default format is [media_root]/[cache_dir]/[cache_filename]. 2010-01-25 16:19:29 -05:00
Justin Driscoll
125c2c1470 Cleaned up trailing whitespace 2009-12-19 11:01:54 -05:00
Ben Jackson
26f01721df Add IKOption.storage to explicitly set cached thumbnail storage.
Original image storage is still the default, and the original image
is always read from its own storage.
2009-12-17 22:26:19 -08:00
Justin Driscoll
2e0530bb50 Added support for functions in cache_dir 2009-08-11 17:58:22 -04:00
Justin Driscoll
eb97ed1180 spec.name now respects the upload_to path and added additional error handling to Transpose:auto 2009-07-19 15:26:53 -04:00
Justin Driscoll
7a04da81e1 Updated preprocessor implementation 2009-07-19 13:50:31 -04:00
Justin Driscoll
510d4fc1df IOErrors now pass silently when generating spec images 2009-07-09 14:42:49 -04:00
Justin Driscoll
70da53ba4d Added format processor to force a format/extension change 2009-06-04 11:47:16 -04:00
Justin Driscoll
47e087e3b4 Fixed handling of palleted images 2009-06-04 11:06:11 -04:00
Justin Driscoll
a0cd5c5774 Wrapped opened file in StringIO 2009-02-04 14:38:30 -05:00
Justin Driscoll
45f4c954f0 Added a check to remove any wrappers from the file like object returned in storage.open() 2009-02-04 14:23:52 -05:00
Justin Driscoll
e1e2b52daa Removed dependance on storage.path() which may not be implemented by storage classes 2009-02-04 13:49:20 -05:00
Ariel Nunez
920bf47128 Added setup.py and relocated source dir 2009-02-02 15:46:41 -05:00
Renamed from src/imagekit/specs.py (Browse further)