cmsplugin_gallery is the most versatile gallery plugin for djangoCMS. It has support for both
Python2 and Python3.
- Latest version of the plugin supports filer.
- Drag & Drop reordering of photos in the plugin admin
Supports Django version 1.8+ 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
If you are using version later than 1.1.4, Please update all your templates to use
image_src instead of
image_src is the new FilerImageField instead of the old
src which was the ImageField. Check this diff for the change in sample template.
pip install cmsplugin_gallery
- Run Migrations
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.