Example IIPImage 1: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
format=center| | format=center| | ||
credit=© The National Gallery, London| | credit=© The National Gallery, London| | ||
scale= | scale=4.25| | ||
annotations=[ | annotations=[ | ||
{x: 0.07066667, y: 0.1418875, w: 0.1206667, h: 0.202321, title: "Example Annotation", text: "1 Here is a basic example of an annotations."}, | {x: 0.07066667, y: 0.1418875, w: 0.1206667, h: 0.202321, title: "Example Annotation", text: "1 Here is a basic example of an annotations."}, | ||
Line 32: | Line 32: | ||
format=center| | format=center| | ||
credit=© The National Gallery, London| | credit=© The National Gallery, London| | ||
scale= | scale=4.25| | ||
annotations=[ | annotations=[ | ||
{x: 0.07066667, y: 0.1418875, w: 0.1206667, h: 0.202321, | {x: 0.07066667, y: 0.1418875, w: 0.1206667, h: 0.202321, |
Revision as of 15:27, 25 August 2014
One of the example graphs list of the Including Zoomable Images page.
NG3268: Pierre-Auguste Renoir, The Umbrellas, about 1881-6, Oil on canvas, (180.3 x 114.9 cm)
Demonstrating the inclusion of dynamic annotations and a specified start point and zoom.
{{#iipimage:server=http://research.ng-london.org.uk/fcgi-bin/iipsrvIntPublic.fcgi%7C image=/pics/pyramids/uncropped_files/Uncropped%20NG%20Fronts/N-3268-00-000111-PYR.tif| wid=600px| hei=300px| format=center| credit=© The National Gallery, London| scale=4.25| annotations=[
{x: 0.07066667, y: 0.1418875, w: 0.1206667, h: 0.202321, title: "Example Annotation", text: "1 Here is a basic example of an annotations."}, {x: 0.4266667, y: 0.4037661, w: 0.316, h: 0.2347274, title: "Example Annotation", text: "2 Here is a basic example of an annotations."}, {x: 0.4366667, y: 0.4237661, w: 0.116, h: 0.1347274, title: "Example Annotation", text: "2B Inside example of an annotations."}, {x: 0.7900153, y: 0.796, w: 0.1213333, h: 0.1191154, title: "Example Annotation", text: "3 Here is a basic example of an annotations."}, {x: 0.1373333, y: 0.7269542, w: 0.001666667, h: 0.002189621, title: "Example Annotation", text: "Here is a basic example of an annotations."}, {x: 0.7269542, y: 0.1373333, w: 0.00, h: 0.00, title: "Example Annotation", text: "4 Here is a basic example of an annotations."} ]|
viewport={resolution:2,x:0.375,y:0.40,rotation:0} }}
Example Code
{{#iipimage:server= http://research.ng-london.org.uk/fcgi-bin/iipsrvIntPublic.fcgi| image=/pics/pyramids/uncropped_files/Uncropped%20NG%20Fronts/N-3268-00-000111-PYR.tif| wid=600px| hei=300px| format=center| credit=© The National Gallery, London| scale=4.25| annotations=[ {x: 0.07066667, y: 0.1418875, w: 0.1206667, h: 0.202321, title: "Example Annotation", text: "1 Here is a basic example of an annotations."}, {x: 0.4266667, y: 0.4037661, w: 0.316, h: 0.2347274, title: "Example Annotation", text: "2 Here is a basic example of an annotations."}, {x: 0.7900153, y: 0.796, w: 0.1213333, h: 0.1191154, title: "3 Example Annotation", text: "Here is a basic example of an annotations."}, {x: 0.1373333, y: 0.7269542, w: 0.001666667, h: 0.002189621, title: "4 Example Annotation", text: "Here is a basic example of an annotations."} ]| viewport={resolution:2,x:0.375,y:0.40,rotation:0} }}