User Tools

Site Tools


res:plugins:photoswipe

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
res:plugins:photoswipe [2020/12/19 19:57] arvidres:plugins:photoswipe [2022/05/25 19:00] – Added "How to remove the captions" section arvid
Line 7: Line 7:
  
 ===== Download ===== ===== Download =====
-{{ :res:plugins:arvid:photoswipe1.0.2.zip |}}+{{ :res:plugins:arvid:photoswipe1.0.6.zip |}}
  
 ===== Usage ===== ===== Usage =====
Line 20: Line 20:
 <code>[photoswipegallery="images/NameOfTheGallery" height="100"]</code> <code>[photoswipegallery="images/NameOfTheGallery" height="100"]</code>
  
 +=== Multiple Usage ===
 +If the plugin is called a number of times on a page, all images referenced, whether as single images or as part of a gallery, will be displayed in a single gallery.
 ===== HTML+CSS ===== ===== HTML+CSS =====
 The HTML code of the images is generated by the BBCode standard function //do_bbcode_img()// (see fp-plugins/bbcode/plugin.bbcode.php). Therefore, standard image attributes (such as "width", "height", etc.) can be used. Floating images will get a corresponding CSS class (e.g. "floatright"). The HTML code of the images is generated by the BBCode standard function //do_bbcode_img()// (see fp-plugins/bbcode/plugin.bbcode.php). Therefore, standard image attributes (such as "width", "height", etc.) can be used. Floating images will get a corresponding CSS class (e.g. "floatright").
Line 37: Line 39:
  
 For now, you have to create the texte.conf files for each gallery manually via FTP, I haven't developed a convenient plugin UI for that. You may if you want to :)  For now, you have to create the texte.conf files for each gallery manually via FTP, I haven't developed a convenient plugin UI for that. You may if you want to :) 
 +
 +==== How to remove the captions ====
 +If you don't want to display captions at all, this is the easiest way to get rid of them: Just add the following to the CSS of your theme!
 +<code>div.img-gallery figcaption { display:none; }</code>
 +//(Generally not displaying the captions if no caption file is present, or even to have a config option for this, is on the list for future plugin versions.)//
  
 ===== Changelog ===== ===== Changelog =====
 +== 2022-05-07: Version 1.0.6 ==
 +  * Bugfix: Fixed invalid HTML output.
 +== 2022-04-09: Version 1.0.5 ==
 +  * Bugfix: Detection if BBCode plugin is active to prevent error if not.
 +== 2021-06-03: Version 1.0.4 ==
 +  * Bugfix: texte.conf doesn't have to be ISO-8859-1 encoded any more.
 +== 2021-01-16: Version 1.0.3 ==
 +  * Bugfix: PhotoSwipe plugin will load own jQuery library only if jQuery plugin is not enabled.
 == 2020-12-09: Version 1.0.2 == == 2020-12-09: Version 1.0.2 ==
   * Bugfix: initializePluginTags() has to be public static.   * Bugfix: initializePluginTags() has to be public static.
res/plugins/photoswipe.txt · Last modified: 2024/02/17 20:29 by arvid

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki