Template:NGThumb: Difference between revisions

From National Gallery Research Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
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.
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 NG665 can be displayed using:
A few examples for NG1093 can be displayed using:
|-
|-
| <pre>{{NGThumb|object=NG665}}</pre> || {{NGThumb|object=NG665}}
| <pre>{{NGThumb|object=NG1093}}</pre> || {{NGThumb|object=NG1093}}
|-
|-
| <pre>{{NGThumb|
| <pre>{{NGThumb|
   object=NG665|
   object=NG1093|
   size=128|
   size=128|
   which=front
   which=front
  }}</pre> || {{NGThumb|object=NG665|size=128|which=front}}
  }}</pre> || {{NGThumb|object=NG1093|size=128|which=front}}
|-
|-
| <pre>
| <pre>
Line 22: Line 22:
   which=back
   which=back
  }}
  }}
</pre> || {{NGThumb|object=NG665|size=128|which=back}}
</pre> || {{NGThumb|object=NG1093|size=128|which=back}}
|-
|-
| <pre>
| <pre>
Line 30: Line 30:
   which=x-ray
   which=x-ray
  }}
  }}
</pre> || {{NGThumb|object=NG665|size=200|which=x-ray}}
</pre> || {{NGThumb|object=NG1093|size=200|which=x-ray}}
|-
|-
| <pre>
| <pre>
  {{NGThumb|
  {{NGThumb|
   object=N-0819-00-000012|
   object=N-1093-00-000214|
   size=200|
   size=200|
   which=image
   which=image
  }}
  }}
</pre> || {{NGThumb|object=N-0819-00-000012|size=200|which=image}}
</pre> || {{NGThumb|object=N-1093-00-000214|size=200|which=image}}
|}</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 14:13, 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=NG665|
  size=128|
  which=back
 }}

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

 {{NGThumb|
  object=NG665|
  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