Difference between revisions of "Images - How to make a photo gallery"

From Sun Myung Moon Archive
 
Line 13: Line 13:
  
 
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.<br>
 
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.<br>
 +
 +
[[Category:Formatting help]]

Latest revision as of 09:34, 2 July 2015

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.