Template:NGThumb: Difference between revisions

From National Gallery Research Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 39: Line 39:
  }}
  }}
</pre> || {{NGThumb|object=N-1093-00-000214|size=200|which=image}}
</pre> || {{NGThumb|object=N-1093-00-000214|size=200|which=image}}
|-
| <pre>
{{NGThumb|
  object=N-1093-00-000214|
  size=200|
  which=image
  scale=2
}}
</pre> || {{NGThumb|object=N-1093-00-000214|size=200|which=image|scale=2}}
|}</noinclude>
|}</noinclude>
<includeonly>
<includeonly>
http://research.ng-london.org.uk/iip_thumb/{{{object|NG0}}}.jpg&size={{{size|64}}}&type={{{which|front}}}&cnt={{{scale|1}}}&.jpg
http://research.ng-london.org.uk/iip_thumb/{{{object|NG0}}}.jpg&size={{{size|64}}}&type={{{which|front}}}&cnt={{{scale|1}}}&.jpg
</includeonly>
</includeonly>

Revision as of 15:20, 19 February 2015


Template Example

This template has been set-up to allow users to directly include thumbnails of NG images directly from CID and the pyramidal images prepared from the images stored on GUIDO.

A few examples for NG1093 can be displayed using:

{{NGThumb|object=NG1093}}

NG1093.jpg&size=64&type=front&cnt=1&.jpg

{{NGThumb|
  object=NG1093|
  size=128|
  which=front
 }}

NG1093.jpg&size=128&type=front&cnt=1&.jpg

 {{NGThumb|
  object=NG1093|
  size=128|
  which=back
 }}

NG1093.jpg&size=128&type=back&cnt=1&.jpg

 {{NGThumb|
  object=NG1093|
  size=200|
  which=x-ray
 }}

NG1093.jpg&size=200&type=x-ray&cnt=1&.jpg

 {{NGThumb|
  object=N-1093-00-000214|
  size=200|
  which=image
 }}

N-1093-00-000214.jpg&size=200&type=image&cnt=1&.jpg

 {{NGThumb|
  object=N-1093-00-000214|
  size=200|
  which=image
  scale=2
 }}

N-1093-00-000214.jpg&size=200&type=image&cnt=2&.jpg