Skip to main content

Cmsplugin Gallery

Run Tests

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:

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' to INSTALLED_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.

Report New Issue

Contributors

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

Release files for cmsplugin-gallery 2.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cmsplugin-gallery 2.0.3
File Size Uploaded
cmsplugin_gallery-2.0.3.tar.gz 13.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cmsplugin-gallery 2.0.3
File Interpreter ABI Platform
cmsplugin_gallery-2.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 32.4 kB

Release history Release notifications | RSS feed

This release

2.0.3 This release

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.1.7

1 release file

1.1.5

1 release file

1.1.4

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.6.5

1 release file

0.6.3

1 release file

0.6.1

1 release file

0.6.0

1 release file

0.5.5

1 release file

0.5.3

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page