eserge / cmsplugin_gallery

Simple photo gallery plugin for DjangoCMS

Home Page:http://github.com/centralniak

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cmsplugin_gallery

cmsplugin_gallery adds simple gallery plugin to your djangoCMS installation

Features:

  • 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.

Contributions and comments are welcome using Github at: http://github.com/centralniak/cmsplugin_gallery

Please not that cmsplugin_gallery requires:

Installation

  1. pip install cmsplugin_gallery
  2. Add 'cmsplugin_gallery' to INSTALLED_APPS (if necessary)
  3. Run syncdb or cmsplugin_gallery if using SOuth

Configuration

  1. Create directory for storing media files - files will be uploaded to MEDIA_ROOT + 'cmsplugin_gallery/images'. Make sure it is writable especially when running in embedded mode on production server.
  2. Very simple template is included with the project. To make it work 100%, install jQueryTOOLS for overlay support using your favorite method http://flowplayer.org/tools/download/index.html

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: http://github.com/centralniak/cmsplugin_gallery

author:Piotr Kilczuk
date:2012/01/31

About

Simple photo gallery plugin for DjangoCMS

http://github.com/centralniak

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 98.1%Language:Shell 1.9%