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.
Thanks,
John Getzke JGetzke@PTC.com
On 16/07/07, Getzke, John jgetzke@ptc.com wrote:
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.
Off the top of my head, have a look at Parser::renderImageGallery() or similar. I think the ImageGallery class has a method to set the column count.
Rob Church
On 7/16/07, Getzke, John jgetzke@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.
You could adapt my JavaScript: http://commons.wikimedia.org/wiki/MediaWiki:ResizeGalleries.js
It rearranges galleries to fill the maximum width of the screen with thumbnails. Shouldn't be too hard to set it to 5 per row.
Cheers, Magnus
On 7/16/07, Getzke, John jgetzke@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
mediawiki-l@lists.wikimedia.org