You are here

README.txt in fancyBox 7.2

Same filename and directory in other branches
  1. 6 README.txt
  2. 7 README.txt
CONTENTS OF THIS FILE
=====================

 * Introduction
 * Information
 * Dependencies
 * Installation
 * Configuration
    - Image module
    - Insert module
    - Views integration
 * Support

INTRODUCTION
============

Current Maintainer for 7.x-2.x: Daniel Imhoff <dwieeb@gmail.com>

The fancyBox module is the best way to incorporate the fancyBox jQuery plugin
into Drupal. Display images, HTML, YouTube videos, Google maps in an elegant
and aesthetic lightbox alternative.

INFORMATION
===========

This module only supports fancyBox version 2.1.0 and higher. As version 2 of the
plugin requires jQuery 1.7+, the jQuery Update module is also required. You may
need to download an unstable version of this module to take advantage of newer
versions of jQuery.

DEPENDENCIES
============

- Image (in core)
- Libraries API 7.x-2.0 or higher (http://drupal.org/project/libraries)
- jQuery Update 7.x-2.3 (http://drupal.org/project/jquery_update)
  with jQuery 1.7 or higher.
- fancyBox jQuery Plugin 2.1.0+ (http://fancyapps.com/fancybox/#license)

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. Copy the entire fancyBox module's directory into sites/all/modules.

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

CONFIGURATION
=============

This module allows you to specify selectors to apply fancyBox to automatically,
but it also integrates with several modules to make it even easier.

Image module
------------

fancyBox can be applied to image fields. To configure your image fields to use
fancyBox, go to admin/structure/types and click "manage display" next to the
content type of your choice. Under the "format" column, select "fancyBox" next
to the image field(s). You may also configure the options for this field.

Insert module
-------------

This module has support for Insert (http://drupal.org/project/insert), which is
a utility for inserting images into WYSIWYG editors. To configure Insert module
with fancyBox, go to admin/structure/types and click "manage fields" next to the
content type of your choice. Edit the image field of your choice and expand the
Insert fieldset. Enable the insert button and select the image styles that you
wish to be enabled. The image styles with fancyBox functionality are suffixed
with "(fancyBox)".

Views integration
-----------------

This module has support for Views. You can create a gallery as you would
normally, and then use the "fancyBox" formatter instead of the "image"
formatter. When the fancyBox formatter is selected, the formatter settings will
become available to you just as if you were managing the display of an image
field.

Plugin configuration
--------------------

Nearly every option listed in the fancyBox documentation (which can be found
here: http://fancyapps.com/fancybox/#docs) is changeable through this module's
configuration page. Navigate to admin/config/user-interface/fancybox and open
the "Plugin Options" fieldset to configure to your needs.

SUPPORT
=======

Please use the issue queue for filing bugs with this module at
http://drupal.org/project/issues/fancybox

File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. =====================
  3. * Introduction
  4. * Information
  5. * Dependencies
  6. * Installation
  7. * Configuration
  8. - Image module
  9. - Insert module
  10. - Views integration
  11. * Support
  12. INTRODUCTION
  13. ============
  14. Current Maintainer for 7.x-2.x: Daniel Imhoff
  15. The fancyBox module is the best way to incorporate the fancyBox jQuery plugin
  16. into Drupal. Display images, HTML, YouTube videos, Google maps in an elegant
  17. and aesthetic lightbox alternative.
  18. INFORMATION
  19. ===========
  20. This module only supports fancyBox version 2.1.0 and higher. As version 2 of the
  21. plugin requires jQuery 1.7+, the jQuery Update module is also required. You may
  22. need to download an unstable version of this module to take advantage of newer
  23. versions of jQuery.
  24. DEPENDENCIES
  25. ============
  26. - Image (in core)
  27. - Libraries API 7.x-2.0 or higher (http://drupal.org/project/libraries)
  28. - jQuery Update 7.x-2.3 (http://drupal.org/project/jquery_update)
  29. with jQuery 1.7 or higher.
  30. - fancyBox jQuery Plugin 2.1.0+ (http://fancyapps.com/fancybox/#license)
  31. INSTALLATION
  32. ============
  33. 1. Install and enable the Libraries API and the jQuery Update module.
  34. 2. Make sure to update your jQuery to version 1.7 or above. You may do this by
  35. going to admin/config/development/jquery_update and selecting the jQuery
  36. version.
  37. 3. Download the fancyBox plugin and extract the entire directory into
  38. sites/all/libraries. (You may need to create this directory). The path to
  39. fancyBox should be sites/all/libraries/fancybox/source/jquery.fancybox.js.
  40. (the module uses the minified version, so actually jquery.fancybox.pack.js).
  41. 4. Copy the entire fancyBox module's directory into sites/all/modules.
  42. 5. Login as an administrator. Enable the module in admin/modules.
  43. CONFIGURATION
  44. =============
  45. This module allows you to specify selectors to apply fancyBox to automatically,
  46. but it also integrates with several modules to make it even easier.
  47. Image module
  48. ------------
  49. fancyBox can be applied to image fields. To configure your image fields to use
  50. fancyBox, go to admin/structure/types and click "manage display" next to the
  51. content type of your choice. Under the "format" column, select "fancyBox" next
  52. to the image field(s). You may also configure the options for this field.
  53. Insert module
  54. -------------
  55. This module has support for Insert (http://drupal.org/project/insert), which is
  56. a utility for inserting images into WYSIWYG editors. To configure Insert module
  57. with fancyBox, go to admin/structure/types and click "manage fields" next to the
  58. content type of your choice. Edit the image field of your choice and expand the
  59. Insert fieldset. Enable the insert button and select the image styles that you
  60. wish to be enabled. The image styles with fancyBox functionality are suffixed
  61. with "(fancyBox)".
  62. Views integration
  63. -----------------
  64. This module has support for Views. You can create a gallery as you would
  65. normally, and then use the "fancyBox" formatter instead of the "image"
  66. formatter. When the fancyBox formatter is selected, the formatter settings will
  67. become available to you just as if you were managing the display of an image
  68. field.
  69. Plugin configuration
  70. --------------------
  71. Nearly every option listed in the fancyBox documentation (which can be found
  72. here: http://fancyapps.com/fancybox/#docs) is changeable through this module's
  73. configuration page. Navigate to admin/config/user-interface/fancybox and open
  74. the "Plugin Options" fieldset to configure to your needs.
  75. SUPPORT
  76. =======
  77. Please use the issue queue for filing bugs with this module at
  78. http://drupal.org/project/issues/fancybox