Difference between revisions of "Including Zoomable Images"

From National Gallery Research Wiki
Jump to navigation Jump to search
Line 34: Line 34:
  
 
==IIPImage MediaWiki Examples==
 
==IIPImage MediaWiki Examples==
* [[Example_IIPImage_1| ]]
+
* [[Example_IIPImage_1| NG6478: Pierre-Auguste Renoir, The Skiff (La Yole)]]

Revision as of 15:21, 24 February 2012

Continuing to expand the re-usability of our public image resources we have expanded our examinations of the use of IIPImage to present high resolution images to included inserting them directly with Mediawiki. This has been achieved by developing a simple extension to Mediawiki, further information will be provided once it reaches a more stable state.

IIPImage MediaWiki Extension

  • Provides the ability to drop a simple viewer directly into a MediaWiki page.
  • Control the dimensions and basic position.
  • Define a specific starting point, location and level of zoom.
  • Add annotations directly to the image.
  • The full screen functionality, the help information and the navigation window still need to be adjusted for this particular application.
  • The basic syntax required is shown below:
{{#iipimage:
server=Web address of the IIPImage server|
image=Full local path to the required image|
wid=Width in pixels|  
hei= Height in pixels|
format=left, center or right|
credit=As required|
caption=Extra presentation information.|
}}
{{#iipimage:

server=http://cima.ng-london.org.uk/fcgi-bin/iipsrv.fcgi%7C image=/pics/tmp/websiteimages/Website_Collection_Online/Web%20Zoom%20Images/WZ%20web%20NG%20Fronts/N-0538-00-000022-WZ-PYR.tif| wid=300px| hei=300px| format=right| credit=© The National Gallery, London| caption=NG538: Joseph Mallord William Turner, Rain, Steam, and Speed - The Great Western Railway, 1844, (91 x 121.8 cm)| }}

IIPImage MediaWiki Examples