- Support for setting the manifest URL via query parameter
manifest
has been removed. If you need this feature, use something like this:new Tify({ container: '#tify', manifestUrl: (new URLSearchParams(window.location.search)).get('manifest'), })
- The stylesheet is no longer loaded automatically. Add
<link rel="stylesheet" href="tify.css?v0.25.3">
to the<head>
of your HTML. - TIFY is now a class and must be instantiated, taking an options object as the only parameter instead of setting options globally via
tifyOptions
. To get the previous behavior, setcontainer
,manifestUrl
(if not set via URL query),urlQueryKey
, and the initialview
:new Tify({ container: '#tify', manifestUrl: 'https://example.org/iiif-manifest.json', urlQueryKey: 'tify', view: 'info', })
- Changed options:
immediateRender
has been replaced withviewer.immediateRender
.init
has been removed.manifest
has been renamed tomanifestUrl
.panX
andpanY
have been merged intopan
, an object with two propertiesx
andy
. Old URLs withpanX
andpanY
are still supported.stylesheet
has been removed.title
has been removed.view
is now an empty string by default instead ofinfo
, meaning TIFY only displays the scan.
- Only relevant if you are using custom styles or added event handlers: In all HTML and CSS class names,
_
has been replaced with-
. The wrapper class has been changed fromtify-app
totify
. - Internet Explorer 11 is no longer supported.