obsidium.css includes only the default short-slide animation. Additional animations can be imported from the obsidium/animations directory. Custom animations can be added by following the naming conventions.
new Obsidium("obsidium", images).init({
animation: 'flip'
})
Thumbnails
Thumbnail size and spacing can be customized or disabled entirely.
new Obsidium("obsidium", images).init({
thumbnailsSize: '7rem',
thumbnailsGap: '0.5rem'
})
Text content
You can provide HTML or plain text as content slides.
The element option should reference the ID of an existing DOM node.
<div id="source" style="display: none">
<p>The woods are lovely, dark and deep,<br>
But I have promises to keep,<br>
And miles to go before I sleep,<br>
And miles to go before I sleep.</p>
</div>
To enable EXIF extraction in the info panel, include the exifr library. Ensure that image files are served from the same origin or have CORS properly configured.