HTML Image Tags
The IIIF Image API exposes images in robust way. These images can be used in a variety of ways, the simplest is just an HTML image tag.
Let's take a look at that image uri and what is going on. IIIF Image Request URI Syntax
|Part of URI||IIIF parameter|
Using this parameter manipulation you can modify how images should be displayed in an HTML image tag.
One thing to note here, is that not all compliant IIIF Image Servers can handle all of these parameters. This information is given to a IIIF consumer via the
info.json response and the compliance level of the IIIF server.
IIIF image uris can also be inserted into CSS or stylesheets. An example of this is in the software Spotlight where the exhibit mastheads have a background image that is served from a IIIF server.
See how there is a similar looking IIIF url in the style attribute? Checkout that masthead image by visiting it directly.
<div class="masthead image-masthead "> <span class="background-container" style="background-image: url('https://exhibits.stanford.edu/images/44/0,37,1334,133/1800,180/0/default.jpg')"></span> <span class="background-container-gradient"></span> ... </div>