Skip to content

Latest commit

 

History

History
198 lines (145 loc) · 6.43 KB

index.rst

File metadata and controls

198 lines (145 loc) · 6.43 KB

Welcome to django-versatileimagefield's documentation!

Travis CI Status Coverage Status Downloads Latest Version
.. rst-class:: intro-paragraph

  A drop-in replacement for django's ``ImageField`` that provides a flexible, intuitive and :doc:`easily-extensible </writing_custom_sizers_and_filters>` interface for creating new images from the one assigned to the field.

  :doc:`Click here for a quick overview </overview>` of what it is, how it works and whether or not it's the right fit for your project.

Compatibility

Code

django-versatileimagefield is hosted on github.

Table of Contents

.. toctree::
   :maxdepth: 4

   overview
   installation
   model_integration
   specifying_ppoi
   using_sizers_and_filters
   writing_custom_sizers_and_filters
   drf_integration
   improving_performance

Release Notes

1.0.4

  • Finessed/improved widget functionality for both optional and 'PPOI-less' fields (thanks, @SebCorbin!).

1.0.3

  • Addressed Django 1.9 deprecation warnings (get_cache and importlib)
  • Enabled VersatileImageField formfield to be overriden via **kwargs

1.0.2

  • Removed clear checkbox from widgets on required fields.

1.0.1

1.0

  • Added support for Django 1.8.
  • Numerous documentation edits/improvements.

0.6.2

0.6.1

  • Squashed a bug that was throwing an AttributeError when uploading new images.

0.6

  • Squashed a bug that raised a ValueError in the admin when editing a model instance with a VersatileImageField that specified ppoi_field, width_field and height_field.
  • Admin 'click' widget now works in Firefox.
  • django-versatileimagefield is now available for installation via wheel.

0.5.4

  • Squashed a bug that was causing the admin 'click' widget to intermittently fail
  • Simplified requirements installation (which makes django-versatileimagefield installable by pip<=1.6)

0.5.3

  • Changed PPOIField to be editable=False by default to address a bug that consistently raised ValidationError in ModelForms and the admin

0.5.2

  • Squashed a bug that prevented PPOIField from serializing correctly

0.5.1

  • Squashed an installation bug with pip 6+

0.5

  • Added Python 3.3 & 3.4 compatibility
  • Improved cropping with extreme PPOI values

0.4

0.3.1

  • Squashed a pip installation bug.

0.3

0.2.1

0.2

0.1.5

  • Squashed CroppedImage bug that was causing black stripes to appear on crops of images with PPOI values that were to the right and/or bottom of center (greater-than 0.5).

0.1.4

  • Overhauled how CroppedImage processes PPOI value when creating cropped images. This new approach yields significantly more accurate results than using the previously utilized ImageOps.fit function, especially when dealing with PPOI values located near the edges of an image or aspect ratios that differ significantly from the original image.
  • Improved PPOI validation
  • Squashed unset VERSATILEIMAGEFIELD_SETTINGS['global_placeholder_image'] bug.
  • Set crop Sizer default resample to PIL.Image.ANTIALIAS

0.1.3

  • Added support for auto-rotation during pre-processing as dictated by 'Orientation' EXIF data, if available.
  • Added release notes to docs

0.1.2

  • Removed redundant javascript from ppoi 'click' widget (thanks, @skumar!)

0.1.1

  • Converted giant README into Sphinx-friendly RST
  • Docs added to readthedocs

0.1

  • Initial open source release