You are here

README.txt in PhotoSwipe 6

Same filename and directory in other branches
  1. 8.2 README.txt
  2. 8 README.txt
  3. 7.2 README.txt
  4. 7 README.txt
  5. 3.x README.txt
DESCRIPTION 
===========

jQuery-based lightbox library offers very nice mobile browsing features (in
particular swiping to the next picture)!

The module features imagecache and imagefield integration (from the Shadowbox
module).


INSTALLATION 
============

1. Download and install the "Libraries API" module: uncompress the "libraries"
folder, copy it to your "modules" directory, and enable it under Administer >>
Site building >> Modules.
http://drupal.org/project/libraries

2. Place the "photoswipe" folder in your "modules" directory (e.g.
sites/all/modules/photoswipe).

3. Install third party PhotoSwipe software
     Download PhotoSwipe 2.0.0 source from PhotoSwipe website 
     (e.g. http://github.com/downloads/codecomputerlove/PhotoSwipe/code.photoswipe-2.0.0.zip)
     Unarchive it into your "libraries" directory (e.g. sites/all/libraries).
     You may need to create the "libraries" directory first.
     Rename it to "photoswipe" (lower case).
NB: Relying on libraries module to locate 'photoswipe' folder allows you to place
it in a site specific (e.g. sites/mysite/libraries) or default folder
(e.g. sites/all/libraries). Site-specific versions are selected preferentially.

4. Enable the PhotoSwipe module under Administer >> Site building >> Modules.


USAGE
=====

In order to use this module, you must install and activate ImageCache and 
ImageField modules.
After adding an imagefield to any content type (e.g. 'album'), you can select
'PhotoSwipe: Preset1 to Preset2' as a display mode in Administer >> Content
management >> MyContentType in the tab 'Display fields'. All possible
combinations of imagecache presets (as thumbnails and link targets) are proposed.


ADVANCED CONFIGURATION
======================

You can pass a javascript string to override the default option of Photoswipe
(documented in the file README.md of PhotoSwipe).

If you want better desktop browser compatibility, you can choose to load
PhotoSwipe using jQuery.
Warning: Since this module is based on a much newer version of jQuery (even than
the one proposed by jQuery Update), it is likely to create heavy compatibility
problems with other modules and cannot be used in admin or edit pages.
Nonetheless it can be used without Drupal or jQuery errors on standard pages!


AUTHOR 
======

Module written by Thomas Julou. http://drupal.org/user/273952
ImageCache and ImageField integration taken from Shadowbox module.

PhotoSwipe http://www.photoswipe.org/


TO DO 
=====

Add javascript config string in settings.
?Does not disable admin by default if standard ps is used?

Drush integration

Port to 7.x


CHANGE LOG 
==========

File

README.txt
View source
  1. DESCRIPTION
  2. ===========
  3. jQuery-based lightbox library offers very nice mobile browsing features (in
  4. particular swiping to the next picture)!
  5. The module features imagecache and imagefield integration (from the Shadowbox
  6. module).
  7. INSTALLATION
  8. ============
  9. 1. Download and install the "Libraries API" module: uncompress the "libraries"
  10. folder, copy it to your "modules" directory, and enable it under Administer >>
  11. Site building >> Modules.
  12. http://drupal.org/project/libraries
  13. 2. Place the "photoswipe" folder in your "modules" directory (e.g.
  14. sites/all/modules/photoswipe).
  15. 3. Install third party PhotoSwipe software
  16. Download PhotoSwipe 2.0.0 source from PhotoSwipe website
  17. (e.g. http://github.com/downloads/codecomputerlove/PhotoSwipe/code.photoswipe-2.0.0.zip)
  18. Unarchive it into your "libraries" directory (e.g. sites/all/libraries).
  19. You may need to create the "libraries" directory first.
  20. Rename it to "photoswipe" (lower case).
  21. NB: Relying on libraries module to locate 'photoswipe' folder allows you to place
  22. it in a site specific (e.g. sites/mysite/libraries) or default folder
  23. (e.g. sites/all/libraries). Site-specific versions are selected preferentially.
  24. 4. Enable the PhotoSwipe module under Administer >> Site building >> Modules.
  25. USAGE
  26. =====
  27. In order to use this module, you must install and activate ImageCache and
  28. ImageField modules.
  29. After adding an imagefield to any content type (e.g. 'album'), you can select
  30. 'PhotoSwipe: Preset1 to Preset2' as a display mode in Administer >> Content
  31. management >> MyContentType in the tab 'Display fields'. All possible
  32. combinations of imagecache presets (as thumbnails and link targets) are proposed.
  33. ADVANCED CONFIGURATION
  34. ======================
  35. You can pass a javascript string to override the default option of Photoswipe
  36. (documented in the file README.md of PhotoSwipe).
  37. If you want better desktop browser compatibility, you can choose to load
  38. PhotoSwipe using jQuery.
  39. Warning: Since this module is based on a much newer version of jQuery (even than
  40. the one proposed by jQuery Update), it is likely to create heavy compatibility
  41. problems with other modules and cannot be used in admin or edit pages.
  42. Nonetheless it can be used without Drupal or jQuery errors on standard pages!
  43. AUTHOR
  44. ======
  45. Module written by Thomas Julou. http://drupal.org/user/273952
  46. ImageCache and ImageField integration taken from Shadowbox module.
  47. PhotoSwipe http://www.photoswipe.org/
  48. TO DO
  49. =====
  50. Add javascript config string in settings.
  51. ?Does not disable admin by default if standard ps is used?
  52. Drush integration
  53. Port to 7.x
  54. CHANGE LOG
  55. ==========