Images - How to make a photo gallery

From Sun Myung Moon Archive
Revision as of 09:34, 2 July 2015 by DivineCriticizer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Help(6 C, 4 P, 9 F)



Example code:

== Gallery ==
<gallery caption="" widths="180px" heights="135px" perrow="4">
File:whatever.gif|Text that you want to place as caption
</gallery></nowiki>

This code shows 4 frames in a row. Each of the frames contains images with a with of 180 pixels and a height of 135 pixels.

Of course, instead of ==Gallery== you can use another title.

You can change the parameters in the code. Perrow=5 means that you'll get 5 columns. You have to change the widths and the heights of the frames accordingly.