Commit graph

37 commits

Author SHA1 Message Date
Matthew Tretter
e136957fc0 Fix docs typo; closes #147 2012-08-28 10:25:12 -04:00
Matthew Tretter
f3008f68b8 Add Google Group to README 2012-07-23 10:22:23 -03:00
Bryan Veloso
70ab4a0cc0 Whoops! Messed that up. 2012-07-19 15:31:08 -07:00
Bryan Veloso
c24746ea1a Code blocks. 2012-07-19 15:29:53 -07:00
Timothée Peignier
f2f6766b86 add irc channel to docs and README 2012-05-29 22:05:37 +02:00
Bryan Veloso
ea5277e7fc Changelog link. 2012-04-24 22:52:06 -07:00
Bryan Veloso
209afac9e3 Merge branch 'develop' into release/2.0
* develop:
  IKContentFile accepts format hint
  Additional mimetype utils
  Don't get extension of empty filename
  Tell people to import fields from the models module
  Refactored AutoConvert into prepare_image
  Docstring for save_image
  Kill PIL's chattiness; fixes #91
  PIL bug workaround
  Use StringIO instead of temp file
  Extract reusable save_image function
  Rename SpecFile and move it to utils
  Extract suggest_extension util from generator
  Woah, globals
  Add SpecFile.__unicode__
2012-04-24 13:59:28 -07:00
Matthew Tretter
af7c12cb68 Tell people to import fields from the models module 2012-04-20 21:43:59 -04:00
Matthew Tretter
479270e498 Introduction to image cache backends 2012-03-24 19:03:24 -04:00
Matthew Tretter
2431aa2d2e Contributing note 2012-02-18 00:48:08 -05:00
Matthew Tretter
e67934852d Rename processors and clean up packages 2012-02-18 00:20:44 -05:00
Matthew Tretter
60c78e7424 Clarifying documentation 2012-02-17 16:08:58 -05:00
Matthew Tretter
2838fa47cd Created "fields" module
This should give us a little more structure as IK grows.
2012-02-12 14:53:49 -05:00
Matthew Tretter
0b02a7158e Add link to readthedocs
I think people don't know we have more documentation than the
README that github is showing.
2012-02-11 16:00:11 -05:00
Matthew Tretter
2467dfe912 Rename resize.Crop to resize.Fill 2012-02-11 13:36:30 -05:00
Matthew Tretter
c3ef5172c3 Rename ImageSpec to ImageSpecField
The ImageSpec class remains for now, but using it throws
deprecation warnings.
2012-02-11 13:06:48 -05:00
Bryan Veloso
cf8ec71e00 reST slays me. :( 2012-01-06 01:52:56 -08:00
Bryan Veloso
2a275f094c Removing Pillow from requirements.txt and adding a note about PIL/Pillow to the README. References #72. 2011-12-22 21:58:42 -08:00
Matthew Tretter
788365d6db Replaces quality argument with options dict
The `options` argument for `ImageSpec` and `ProcessedImageField`
replaces `quality` and provides a more general solution, allowing the
user access to PIL's format-specific options (including "quality",
"progressive", and "optimize" for JPEGs).
2011-11-16 10:00:35 -05:00
Jannis Leidel
4555df03d0 Slightly updated README to correctly render as reStructuredText. 2011-10-31 16:24:29 +01:00
Bryan Veloso
11c1259ba3 Merge branch 'release/1.0.0' into develop
* release/1.0.0: (68 commits)
  Tests now run again.
  PEP8-ing and whitespacing.
  Requiring versiontools and patching up our setup.py.
  adding introspection rule for users with south
  PEP8 and import tweaks.
  fixing typo
  ImageSpecFile is a proper File
  Typo fix
  A list of ImageSpec names are now stored on the model.
  AdminThumbnailView is now AdminThumbnail
  Docs typo fix
  Adds explicit import of resize module to processors
  fixing bad import in docs
  adding name to AUTHORS
  adding test for new api
  Moved Crop and Fit to resize module.
  More docs edits.
  Typo fix.
  Installation instructions.
  Embracing duck typing.
  ...

Conflicts:
	README.rst
2011-10-31 23:32:39 +09:00
Bryan Veloso
47fac1cb07 Discontinuation notice. 2011-10-31 22:41:43 +09:00
Chris McKenzie
79a6e8f1ab fixing typo 2011-10-17 10:27:29 -04:00
Matthew Tretter
b9aa69e0c0 AdminThumbnailView is now AdminThumbnail
I never liked that the "AdminThumbnailView" was supposed to be defined
on the model, but never looked into it.

This commit puts the definition back where it belongs: in the admin.
Instead of requiring you to add a field (with view logic) to your
model, you now just add a property to your admin class and specify
that property in the `list_display` list.
2011-10-02 21:58:08 -04:00
Matthew Tretter
067217e40e Docs typo fix 2011-09-26 16:52:35 -04:00
Chris McKenzie
492febf7ec fixing bad import in docs 2011-09-26 16:40:38 -04:00
Matthew Tretter
da00e2a5da Moved Crop and Fit to resize module.
Crop doesn't necessarily imply the any scaling is taking place. Several
ideas were discussed, from renaming Crop to combining both processors
into a single Resize processor (as they were in the original IK), but
those solutions were felt to either precluded future extension
(alternative resize modes) or make the API too verbose.
2011-09-26 14:40:48 -04:00
Matthew Tretter
6751d78504 More docs edits.
Added us to the authors. Reorganized some of the documentation so that
sphinx and the project landing page on github can share it.
2011-09-26 11:36:08 -04:00
Matthew Tretter
82348d4931 Changed how cache files are named.
Removed the cache_dir, cache_filename_fields and cache_filename_format
properties of IKOptions. While these were very powerful, I felt that it was
unnecessarily confusing to have two properties (cache_dir and
cache_filename_format) that determine the filename. The new cache_to property is
modeled after ImageField's upload_to and behaves almost identically (the only
exception being that a callable value receives different arguments). In
addition, I felt that the interpolation of model properties provided by
cache_filename_fields, though useful, would be better handled by a utility
function outside of this library.
2011-09-18 21:08:49 -04:00
Bryan Veloso
a3ed700117 Fixing some spelling. Fixes #29. Thanks Nai! 2011-09-12 02:23:48 -07:00
Matthew Tretter
0b0942921b Updated README to reflect the new API. 2011-09-08 15:52:03 -04:00
Kenneth Reitz
9592edb186 proper python comments in readme 2011-06-29 07:30:51 -07:00
Bernard Chhun
3bf844687d Added the quality property in the readme's ImageSpec classes just to show it is possible to change it at will. 2011-06-18 15:55:00 -07:00
Bryan Veloso
7fe96cbe54 I suck horribly at checking my work. 2011-02-10 15:15:52 -08:00
Bryan Veloso
03a1339d1f One more for good measure. 2011-02-10 15:14:52 -08:00
Bryan Veloso
26563dd601 Code block fail. :( 2011-02-10 15:11:11 -08:00
Bryan Veloso
365bbf3496 README.md => README.rst 2011-02-10 15:07:37 -08:00
Renamed from README.md (Browse further)