Hi Jeroen, SRF_Gallery.php sometimes can lead to a large display thumbnails therefore we thought we provide a patch [1] which allows to use the jcarousel plug-in [2] to display galleries as a carousel.
It is a fairly simple enhancement therefore the best way to implement this enhancement is through a small patch on the original SRF_Gallery.php to keep maintenance low. Depending on the new introduced parameter galleryformat=carousel the required jquery plug-in is loaded and handles the display of the gallery items. The integration was tested with Firefox and Chrome on SMW 1.7, SRF 1.7 and MW 1.18. [3] is included PS : Their is a Fatal error when the Gallery is executed on the Special:Ask page which causes a Fatal Call to a member function getMaxIncludeSize() on a non-object which is caused by $imgCaption = $wgParser->recursiveTagParse( $imgCaption );. The $imgCaption = $wgParser->transformMsg( $imgCaption, ParserOptions::newFromUser( null ) ); might solve this for the execution in Special pages but I haven't included any patch for it, so it would be nice if some else could review this part to make sure Special:Ask doesn't produce any getMaxIncludeSize() failure. [1] https://github.com/mwjames/smw-srfgallerycarousel [2] http://sorgalla.com/projects/jcarousel/ [2] https://bugzilla.wikimedia.org/show_bug.cgi?id=34411 Cheers, mwjames ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel