devlabnet / SlideShow

SlideShow Plugin for CKEditor
16 stars 18 forks source link

SlideShow

SlideShow Plugin for CKEditor

New Feature

December 12, 2015 : NEW Feature which allows to add "clickable" link on images, look at the documentation for more information.

A cool plugin which allow to create and manage SlideShow in CKEditor. You can easily Add, Remove images to create the Slide Show.

Specification

The plugin has been designed to work with the "Ad-Gallery" javascript slidshow program available at the following location : http://adgallery.codeplex.com, and with "FancyBox" java program available at the following location : http://fancybox.net/.

For each slide show created with this plugin, you can adjust most of the available controls available in ad-gallery :

Slide Effect.
Animation Speed.
Animation Delay.
Auto Start
Show / Hide Thumbnails.
Sho / Hide "Start - Stop" Buttons
Open Image on Click (with a FancyBox pop-up).
...

Internationalization

Currently plugin supports 9 languages.

Usage

  1. Download source files and place them on to be created "slideshow" folder under the CKeditor's plugin base.
  2. Define plugin in CKEDITOR config object. CKEDITOR.config.extraPlugins = 'slideshow';
  3. Set your CKEDITOR language if you did not set it yet. CKEDITOR.config.language = 'en';
  4. You're Done !! Just enjoy.

The needed files for "ad-gallery" and "fancybox" are located under the 3rdParty directory, in the plugin package. They are just copy of the files from respective web sites (ad-gallery and fancybox), just a fews modifs have been made in the as-gallery css file, for info, and for curious people, the diffs compared to the original are in the patch file under this ad-gallery directory. Normally, nothing special has too be done with these files. If you like to change their location, just edit the "slidesho.js" and update the variables on top of this file.

Requirements

To correctly work, you need to have access to CKEditor, KCFinder (or any stuff to allow to upkoad images on the server), ad-gallery javascript / css and fancybox javascript and css.

Demo

View the live demo.

Cheers

Thanks to CKeditor and ad-gallery and fancybox people for their good work.