Template:NGThumb: Difference between revisions

From National Gallery Research Wiki
Jump to navigation Jump to search
(Created page with "<noinclude>__NOTOC__ {| cellpadding="10" cellspacing="0" border="1" style="border-style: solid; border-color: #F00" |- | colspan=2 | '''Template Example''' This template has ...")
 
No edit summary
Line 41: Line 41:
|}</noinclude>
|}</noinclude>
<includeonly>
<includeonly>
http://roundtable.ng-london.org.uk/iip_thumb/{{{object|NG0}}}.jpg&size={{{size|64}}}&type={{{which|front}}}&.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:08, 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 NG665 can be displayed using:

{{NGThumb|object=NG665}}

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

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

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

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

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

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

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

 {{NGThumb|
  object=N-0819-00-000012|
  size=200|
  which=image
 }}

N-0819-00-000012.jpg&size=200&type=image&cnt=1&.jpg