Images - How to make a photo gallery

From Sun Myung Moon Archive
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.