FlatPress Wiki

Everything you need to know :)

.:: FlatPress Home :: Support forum :: Twitter :: Mastodon ::.

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 revision Previous revision
Next revision Both sides next revision
res:plugins:photoswipe [2021/06/03 13:01]
arvid
res:plugins:photoswipe [2021/06/30 10:29]
norfolkgreg [Usage] Added note about muliple 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").
res/plugins/photoswipe.txt ยท Last modified: 2022/05/25 19:29 by arvid