[Mediawiki-l] Hacking the <gallery>

Magnus Manske magnusmanske at googlemail.com
Mon Jul 16 15:06:10 UTC 2007


On 7/16/07, Getzke, John <jgetzke at ptc.com> wrote:
> Greetings wiki gurus
>
> We have been using the <gallery> tags to create psudo photo org charts
> on our company wiki.  I was wondering if anyone knows how to change the
> default settings of this feature to allow 5 pictures per row instead of
> just 4.  If anyone knows where to look or could throw me a link on how
> to manage this feature it would be much appreciated.

Stupid me: you can add a parameter to a gallery:
<gallery perrow="5">
will show 5 thumbnails per row.

Cheers,
Magnus



More information about the MediaWiki-l mailing list