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

Project description

#WARNING: NOT SUITABLE FOR REUSE Haven’t had time to add a couple things that make it reusable.. :)

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-uploadcare-0.3.0.tar.gz (12.1 kB view hashes)

Uploaded Source

Built Distribution

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