DjangoCMS image gallery plugin with drag&drop reordering in admin, support for thumbnails and jQueryTOOLS overlay.
Project description
Cmsplugin Gallery
cmsplugin_gallery
is the most versatile gallery plugin for djangoCMS. It supports
Python3.7 and above.
Features:
- Latest version of the plugin supports filer.
- Drag & Drop reordering of photos in the plugin admin
- Unlimited, auto-discovered custom templates - you can change template of given gallery at anytime, use javascript galleries etc.
Requirements
Supports Django version 3.2+ and latest Django CMS version. Follow individual installation instructions before installing cmsplugin_gallery. Please note that cmsplugin_gallery requires:
- django-inline-ordering http://pypi.python.org/pypi/django-inline-ordering/
- easy-thumbnails http://pypi.python.org/pypi/easy-thumbnails/
- django-filer https://pypi.python.org/pypi/django-filer
IMPORTANT
If you are using version later than 1.1.4, Please update all your templates to use
image_src
instead of src
. image_src
is the new FilerImageField instead of the old
src
which was the ImageField. Check this diff for the change in sample template.
Installation
pip install cmsplugin_gallery
- Add
'cmsplugin_gallery'
toINSTALLED_APPS
(if necessary) - Run Migrations
Usage
The easiest approach is to use a nice feature of cmsplugin_gallery - the template autodiscovery. In order to take advantage of it, add your custom templates in the cmsplugin_gallery subdirectory of any of template dirs scanned by Django.
If you don't want to use the autodiscovery, you can hardcode available templates in settings.py using following setting:
CMSPLUGIN_GALLERY_TEMPLATES = (
('app/template.html', 'Template #1', ),
('app/other_template.html', 'Template #2', ),
)
Embed as a typical plugin.
Bugs & Contribution
Please use GitHub to report bugs, feature requests and submit your code.
Contributors
2.0.3 / 2022-04-20
- fix: issue with the history.md file not included in MANIFEST.in file
2.0.0 / 2022-04-20
- feat: add make file for release automation and generate python3 wheels only
- correct readme
- fix: correct metadata
- feat:add more metadata to the setup.py and add a setup.cfg too
- feat: update ci setup
- feat: set default auto field
- feat: get package building for python 3.10 too
- feat: python3+ only
- fix: upgrade deps and also add more settins
- feat: try updated package for djangocms-helper
- fix: upgrade to a newer version of djangocms-helper
- feat: add github actions
- feat: make python code python3.7+
- fix: make code django 3.2+ compatible
- Merge pull request #50 from centralniak/fix/failing-migration-tofiler
- wrap migration in try except
- bump version
- fix yet another typo
- make it backward compatible
- add module name in settings name
- bump version
- fix typo
- add configurable module name
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cmsplugin_gallery-2.0.3.tar.gz
.
File metadata
- Download URL: cmsplugin_gallery-2.0.3.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddbfdcc99d70d51303b27148e9d13fbacb484ff98aa9735f7bd14266636263e4 |
|
MD5 | b66ddd42d0b2c6a75b31902c50ee47d7 |
|
BLAKE2b-256 | 826acb93cc001a01eda5c1f5eec2be41bce6762e74eaa1fad641433664002005 |
File details
Details for the file cmsplugin_gallery-2.0.3-py3-none-any.whl
.
File metadata
- Download URL: cmsplugin_gallery-2.0.3-py3-none-any.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f937ca63c9c8a9e23d82f0a4f74b072b9712e88df3f7633f51f42522aa3c707 |
|
MD5 | 8b42497636da0595781573570a872d8d |
|
BLAKE2b-256 | b06db5fb8734bff9e032a2869902309de4b3c1be2f043ed644f3ce4fe4aafe49 |