Skip to main content

A slider plugin for djangocms that lets you arrange slides like any other djangocms plugin. Fork of urga/djangocms-slider, but using easy_thumbnails.

Project description

A simple django cms slideshow plugin. For of https://github.com/urga/djangocms-slider, but using easy-thumbnails by default.

Features:

  • There are 2 plugins: SlideShow and Slide. A SlideShow can only contains Slides. Those can be arranged in the order you want just like any other plugin.

  • Each image can have a url specified (creating an anchor around the image)

  • By default, creates a [flexslider](http://www.woothemes.com/flexslider/) slideshow.

  • By default, uses [easy-thumbnails](https://github.com/SmileyChris/easy-thumbnails) as a thumbnail plugin.

  • Allows use of a custom thumbnail configuration in Django settings, using an slider_thumb_id field that should correspond to your id in THUMBNAIL_ALIASES.

So a settings of ‘home_slider’: {‘size’: (400, 200), ‘crop’: False}, in your THUMBNAIL_ALIASES, and a slider_thumb_id of home_slider in your Slider plugin/model (with use_simple_settings set to False) will result in the images being 400x200 instead of the settings in the slide.html template.

Of course, you can still override templates.

Installation

This plugin requires django CMS 3.0 or higher to be properly installed and configured.

To install:

  • run pip install djangocms-slider-easy on your virtualenv

  • add easy_thumbnails to your INSTALLED_APPS setting if you want to use default template.

  • add djangocms_slider to your INSTALLED_APPS setting (mind the underscore)

  • Run ./manage.py migrate djangocms_slider

Usage

To override the template, just add slider.html and or ‘slide.html’ in a django template directory under templates/djangocms_slider.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djangocms-slider-easy-0.2.6.tar.gz (13.0 kB view details)

Uploaded Source

File details

Details for the file djangocms-slider-easy-0.2.6.tar.gz.

File metadata

File hashes

Hashes for djangocms-slider-easy-0.2.6.tar.gz
Algorithm Hash digest
SHA256 2f058c06d421977476a44a8cd4ae5c3496c886c4c2581fa5bed13bc4980bfe01
MD5 3555ded197f3146756e35ec877954088
BLAKE2b-256 6c81c5553f051ff2f5fd1c7f1f124e418f20dbd199087dd45a1c2f8a8bc2f0f4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page