jdriscoll / django-imagekit

Automates image processing for Django models. Resize, process and cache multiple versions of your image files. Access newly created files with a standard API. Supports alternate storage schemes such as Amazon S3.

Clone this repository (size: 135.6 KB): HTTPS / SSH
$ hg clone http://hg.driscolldev.com/django-imagekit
commit 71: 78778f63000e
parent 70: 120f9bb88318
branch: default
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].
Justin Driscoll / jdriscoll
8 months ago

Changed (Δ42 bytes):

raw changeset »

imagekit/specs.py (1 lines added, 2 lines removed)

Up to file-list imagekit/specs.py:

@@ -86,8 +86,7 @@ class Accessor(object):
86
86
            return self._obj._ik.cache_dir(self._obj, filepath,
87
87
                                           cache_filename)
88
88
        else:
89
            return os.path.join(self._obj._ik.cache_dir, filepath,
90
                                cache_filename)
89
            return os.path.join(self._obj._ik.cache_dir, cache_filename)
91
90
92
91
    @property
93
92
    def url(self):