Overview

This is a note on my experiment with serving IIIF images using mdx.jp object storage and IIP Image (IIIF Image Server).

This is a continuation of the following article.

Docker Version of IIP Image

A Docker image for the IIPImage server is available at the following link, so I will use that.

https://hub.docker.com/r/iipsrv/iipsrv

Refer to the following article and others for installing Docker.

https://qiita.com/Marron-chan/items/570c7c7baaae3b4d6b11

Execution

Following the previous article, mount the mdx.jp object storage as follows.

s3fssatoru196~/s3mountpasswd_file=~/.passwd-s3fsurl=https://s3ds.mdx.jpuse_path_request_styleallow_other

An important note: I added -o allow_other compared to the previous article. Without this option, the following error occurred when starting the container.

dRoucnke'rd:ocEkrerrorrurnesp-ohneslep'frfoomrdmaoermeoni:nfeorrrmoartiwohnilecreatingmountsourcepath'~/s3mount/iip/images':mkdir~/s3mount:fileexists

After adding the -o allow_other option, run the following command. It started successfully.

dTIVRSSSSSSSSSSSSSSOSMIohIeueeeeeeeeeeeeeepeencuPrnttttttttttttttetmikIbnttttttttttttttntcteMmRoiiiiiiiiiiiiiiiMiairaausnnnnnnnnnnnnnnnPncargvigggggggggggggggghlreeteeiunyimffdddmH3dAIuinUdsn6SnaiieeeaTDelCpmaRaePlxllfffxTflCabIst-2riesieeaaaiPfaoJgluii2vlvtmssuuumiuwpPeempot:eleauyyllluCllrEdapn3ralnmsstttmaetUoGppo-5.ydttcpf2rfprCp:saieeJPWChsIsi0ooito4V<elmmmPNeVeeIcl0crnm93ertoaEGbT-qIae0egep0rungpsGPCuFlspnl02svteerucsoeiessatae00ieoefqocinnInmuirobt:2onmcffumoztcmgbpnale95n@5oaiiapmereaepglie.0udcxxlrpogtdolid01sehiertlneodreei.0.eetttseoaitnlf2roooysshmAtngi=C-snsis5eePrgviz>op.itoi0aIuineInsszono0dpetaedIn8ooein0eavoIe0ucm7lrteOtiFc8rkta5eltrtpom.t0ceogvetesreae:eteevoriunCgSd8f:1slenoeJPeu0o0/l'nPUptr0M'tmtEppog.BotaotGproe0oxorors..1-octe~n05a_3ceer/e.0gpesdvst0eysse3>:=rsiprm98_onrso06'rgo:u04tn00wo't0icl/w'tooiihlcit:aph2l/IhibtIomahIsacrFtgke'elasodw/gsi::t/hi2m0ta4ig8meesout-r8m64i0i0psrv/iipsrv

With this configuration, store tiled multi-resolution pyramid TIFF files in /satoru196/iip/images on the object storage, and verify access via a URL like the following:

http://:8080/iiif/image.tif/info.json

Summary

I was able to combine IIPImage Server with mdx.jp object storage. However, the response speed and other performance aspects have not yet been tested. I plan to continue experimenting.

I hope this is helpful as a reference.