Django-media-helper

Latest version: v0.3.2

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.3.2

* added support for django 1.8-1.10 and python 3.5
* removed support for django < 1.6 and python 3.3

v0.3.1-bugfix

* Fixed the long-description in setup.py that was causing installation to fail.
I'm still not quite sure why, so I just decided to hard-code it for now.

0.3

New Features

* New management command to resize a specific image: --resize=PATH/FILENAME

* Images and backgrounds are now be preloaded before being replaced to avoid
flickering

* Created the following jQuery plugins for resizing and replacing images and
backgrounds to allow more granular control:
swapImage(),
swapBackground(),
replaceAll()

Bug Fixes

* Fixed unicode decode error in management.commands.mediahelper

* Changed resize quality from 85 to 'keep' because resized jpegs were often
larger than their source files.

MISC

* Finally wrote a proper regex for url stripping in ajax.html

* Created tox envronments explicitly for django versions


v0.2.2-bugfix

* Fixed firefox issues. Now correctly removes host name from background-images

* Changed tests to work with and without tox

* Updated tests to reflect new default settings

* Fixed ajax success callbacks to use selectors defined in settings

* Updated readme

0.2.2

* fixed travis.yml

0.2.1.1

* updated Quickstart

v.0.2.1

New features

* Added a context processor to access media_helper settings in templates.
note:when accessing the settings, omit the `MEDIA_HELPER_` prefix. That is
simply to avoid namespace conflicts in the main django ecosystem.

* Added explicit include selectors for backgrounds and images.


Changes

* `resolution` view renamed to `media_helper`

* internal settings converted to uppercase.

v.0.1.4.bug-fix

* fixed settings import error

* image size of 0 error fixed. this was done earlier, but i forgot to mention
it


v.0.1.4

Changes

* tox and travis integration

* added python 3 compatibility

* moved to github

v.0.1.4.a

Changes

* settings module made less stupid.

* tests divded into separate files


General

* Flaked the shit out of everything


v.0.1.3

Bug fixes

* Fixed premature loop exiting in `management.commands.mediahelper.resize-all`. It now resizes according to all settings.

0.1.2

Bug fixes/corrections

* Templates were not included in the pypi package

* Typo in the documentation preventing proper template usage

0.1.1

* initial release

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.