Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simple photo gallery plugin for DjangoCMS
Python JavaScript
branch: master

This branch is 42 commits ahead, 30 commits behind centralniak:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
cmsplugin_s3slider
debian
tests
.gitignore
README.rst
setup.py

README.rst

DjangoCMS s3Slider Gallery plugin

Features

  1. Drag&Drop reordering of photos in the plugin admin
  2. Unlimited, auto-discovered custom templates - you can change template of given gallery at anytime, use javascript galleries etc.
  3. Native support for http://www.serie3.info/s3slider/demonstration.html

Requirements

Installation

  1. Install requirements and put cmsplugin_s3slider on your python path (requirements will be installed automatically if you use pip with -e https://Lacrymology@github.com/Lacrymology/cmsplugin_s3slider.git
  2. Add cmsplugin_s3slider, easy_thumbnails and sekizai to your installed apps
  3. Run syncdb or migrate cmsplugin_s3slider (if you use South).
  4. Create directory for storing media files - files will be uploaded to MEDIA_ROOT + 'cmsplugin_s3slider/images'. Make sure it is writable especially when running in embedded mode on production server.
  5. Very simple template is included with the project. It comes with the s3Slider gallery plugin javascript packed, and ready to work. It also expects you to have a "css" and a "javascript" sekizai blocks rendered in your template. You can modify the template to fix the css to suit your needs.

Usage

The easiest approach is to use a nice feature of cmsplugin_s3slider - the template autodiscovery. In order to take advantage of it, add your custom templates in the cmsplugin_s3slider 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_S3SLIDER_TEMPLATES = (
    ('app/template.html', 'Template #1', ),
    ('app/other_template.html', 'Template #2', ),
)

Embed as a typical plugin.

Changelog

0.0.3: add links (internal or external)

Something went wrong with that request. Please try again.