Extension:Image Gallery

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
Image Gallery

Release status: stable

220px
Implementation Special page
Description Renders an image gallery based on the GalleryView Javascript plug-in.
Author(s) Fladeitalk
Last version 0.1 (18-Feb-2013)
MediaWiki 1.17.0
Database changes no
Schema registration
License GNU GPL
Download gitHub
Example Wikiprogress and Wikigender

The Image Gallery extension enables a new Special Page (Special:Image_Gallery) that shows a File gallery with the following functionality:

  • Lists all images in the wiki, ordered by date (most-recent first).
  • Play/pause button (4 segs for each picture).
  • Resizes images to width and height of the slideshow panel.
  • Gives an information layer with the following information:
    • File name (with URL to the file page)
    • File description (if present in the Wiki page of the image).
  • Modify the resizing script so only bigger images get scaled (don’t touch small images to avoid pixelate-distortion effect)
  • Make use of ImageMagick to actually get images resized from the server, making it a faster script on the user end.
  • If PNG files are found, replace transparency with white background
  • Be able to search by keyword (searched in the image name only).
  • PDF files are rendered as well (only PDF logo, but with link to the PDF file to be downloaded).
  • Drop suggestions while typing in the search box.
  • Block screen while searching the files (show “Wait please…”).
  • Shows alert when results are not found.
Image Gallery Screenshot.png

[edit] Installation on Mediawiki 17.x

  • Make sure that your wiki has ImageMagick enabled.
  • Go to your /extensions/ folder inside the wiki path and copy/paste the wpGallery folder provided by this extension.
  • Go to your LocalSettings.php file and add the following line :
include("$IP/extensions/wpGallery/wpGallery.php");
  • Erase the cache of your browsers. Everything should be working. Go to the “Special:Image_Gallery” page.

[edit] Requirements

  • MediaWiki 1.17 (tested and developed in 1.17.0 - may work for newer releases)