You are here

README.txt in PhotoSwipe 7

Same filename and directory in other branches
  1. 8.2 README.txt
  2. 8 README.txt
  3. 6 README.txt
  4. 7.2 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)!


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 image field to any content type (e.g. 'article'), 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 (D6 version).

PhotoSwipe http://www.photoswipe.org/


TO DO 
=====

?Does not disable admin by default if standard ps is used?

Drush integration


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