addgalleryclass_filter

Categories

Component ID

2132401

Component name

addgalleryclass_filter

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Overview

You have fancyBox, but can see only single picture in an elegant and aesthetic lightbox alternative? How make image gallery using all pictures in node body? Without new content type, views etc.
Yes. I'll try to help you.

Module install new filter. You can enable filter in Full_HTML format (or enable filter in new format). When you save node every link to image getting attribute, so fancyBox can organize your node images to gallery.

Requirements

  • fancyBox and all his requirements

Installation

1. Install and enable the Libraries API and the jQuery Update module.

2. Make sure to update your jQuery to version 1.7 or above. You may do
this by going to admin/config/development/jquery_update and selecting
the jQuery version.

3. Download the fancyBox plugin and extract the entire directory into
sites/all/libraries. (You may need to create this directory). The path to
fancyBox should be sites/all/libraries/fancybox/source/jquery.fancybox.js.
(the module uses the minified version, so actually jquery.fancybox.pack.js).

4. Download the fancyBox module and copy the entire fancyBox module's directory into sites/all/modules. Repeat this for addgalleryclass_filter module.

5. Login as an administrator. Enable the module fancyBox and addgalleryclass_filter in admin/modules.

Configuration

  1. Go to admin/config/user-interface/fancybox and fill "fancyBox Selectors" (for example: "a:has(img)").
  2. Go to admin/config/content/formats/full_html and enable checkbuton "Add attribute for fancyBox gallery".