You are here

USAGE.txt in Shadowbox 8

Same filename and directory in other branches
  1. 6.4 USAGE.txt
  2. 6.3 USAGE.txt
  3. 7.4 USAGE.txt
  4. 7.3 USAGE.txt

USAGE
=====

The module is integrated with image field element so you can select from
a number of different options for displaying images uploaded to nodes and shown
in views. For any image field you can use shadowbox as the formatter of the field.

Shadowbox by default is only used on image fields with shadowbox formatter but you
can configure shadowbox auto handle features if you want to use it in other
different ways:

  - If you want to activate shadowbox automatically in all your links to images you
can activate the "Enable for all image links" checkbox located in module config
auto handling feature, /admin/config/media/shadowbox/automatic

  - If you want all images in a page grouped in a gallery and automatically handle
by shadowbox activate both "Enable for all image links" and "Group images as a
shadowbox gallery" in /admin/config/media/shadowbox/automatic

  - If you want to include shadowbox library in all your pages so you can decide which
links you want opened in a shadowbox using the rel attribute then you must enable the
auto handle feature, "Enable shadowbox globally" that you can locate in
/admin/config/media/shadowbox/automatic.

For instructions on manually crafting links, please see the official usage guide:

  http://www.shadowbox-js.com/usage.html#markup

If you need to integrate Shadowbox with some other Drupal module it is quite
likely that you can do it on the theme layer.

File

USAGE.txt
View source
  1. USAGE
  2. =====
  3. The module is integrated with image field element so you can select from
  4. a number of different options for displaying images uploaded to nodes and shown
  5. in views. For any image field you can use shadowbox as the formatter of the field.
  6. Shadowbox by default is only used on image fields with shadowbox formatter but you
  7. can configure shadowbox auto handle features if you want to use it in other
  8. different ways:
  9. - If you want to activate shadowbox automatically in all your links to images you
  10. can activate the "Enable for all image links" checkbox located in module config
  11. auto handling feature, /admin/config/media/shadowbox/automatic
  12. - If you want all images in a page grouped in a gallery and automatically handle
  13. by shadowbox activate both "Enable for all image links" and "Group images as a
  14. shadowbox gallery" in /admin/config/media/shadowbox/automatic
  15. - If you want to include shadowbox library in all your pages so you can decide which
  16. links you want opened in a shadowbox using the rel attribute then you must enable the
  17. auto handle feature, "Enable shadowbox globally" that you can locate in
  18. /admin/config/media/shadowbox/automatic.
  19. For instructions on manually crafting links, please see the official usage guide:
  20. http://www.shadowbox-js.com/usage.html#markup
  21. If you need to integrate Shadowbox with some other Drupal module it is quite
  22. likely that you can do it on the theme layer.