Overview

I created a sample program using the Annotorious OpenSeadragon Plugin that allows adding annotations to multiple images loaded from an IIIF manifest file. You can try it at the following link.

https://nakamura196.github.io/nuxt3-demo/annotorious

Source Code

Please refer to the following.

https://github.com/nakamura196/nuxt3-demo/blob/main/pages/annotorious/index.vue

Key Points

npm install –force

The library @recogito/annotorious-openseadragon does not appear to support openseadragon v5, so a forced installation was necessary.

nnnnppppmmmmeeeerrrrrrrroooorrrrCpnoeoued@lrerd_eomcnpoooedgtnuisltreeoeassdaor@nlarnvgeoeoctnood@gre"iip^toe3oun./sd0a-e.non0npcoeytn:sre^ia4od.ur0sa.-g0oo"pne@fn"rs^oe2ma.d7@r.ra1eg8co"ongfirtoom/atnhneotrooroitoupsr-oojpeecntseadragon@2.7.18

plugins

I loaded Annotorious as a plugin.

https://github.com/nakamura196/nuxt3-demo/blob/main/plugins/osd.client.js

When switching pages, it was necessary to clear annotations once and then load the annotations for the corresponding page.

c}o>n[(v}c}Rsk{Ai)o;ete}deas;ncci}ay)dwnhFsoofca:;enoutnna}tnhrownss(n)inna..Ccsttana;vounacuthnonetmddlrioiantnablderownnoaooteeHaenCdntt.birrarnueoaiajo]nAttrxttoden:tdnCoraindcsolnae=tosAtMAeondninMnancrtvitvosantpnl(aasCinMpoooe"tspaesa_t=tapiAlnwMp[asaraonavea_ittrtgnnyarp[nioeiaesos._idorfon"(taAcnene<nd,)annu=dx({[;tnnre]aa]dioorax.nn;iotten]fnnsnaann)ooop=stttorttl>(iiPt{Eaaa)ooaaatty{;nngtciisseihooa(o(nnnf=)n()sno;sa;orMnftanoatporth=.tie>vaeoatanc{licsuuohrenor;:pneanAgptneangcoeatnanvtaaivsoing)at=i>on{

Summary

By extending this program, it should be possible to connect with other applications. I hope this serves as a helpful reference.