Overview
Referencing the following tweet, I tried adding images and a IIIF manifest to IPFS.

For adding to IPFS, I used Fleek, which is also mentioned in the above tweet.
The following site was helpful for learning how to use Fleek.
Source Code
The source code is below.
Steps
Uploading Images
First, I uploaded the following image to the above repository.
Following the reference site, I connected this repository to Fleek. As a result, it became accessible at the following URL.
Reference
I also downloaded the IPFS desktop app and entered "QmbZekG5x834rwGKVZntBefkbNfL5auH171m4c26TZmCAo", which displayed the following.

Furthermore, I installed the following Google Chrome extension.
With the desktop app running, entering the earlier URL (https://ipfs.io/ipfs/...) resulted in it being converted to the following URL.
Uploading the Manifest File
Next, I created a manifest file. I created the following manifest file.
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "https://ipfs.io/ipfs/QmbZekG5x834rwGKVZntBefkbNfL5auH171m4c26TZmCAo/kunshujo_400.jpg",
"@type": "sc:Manifest",
"attribution": "sample",
"description": "Manifest file of My first IIIF and IPFS",
"label": "My first IIIF and IPFS",
"metadata": [
{
"label": "keyword",
"value": "ipfs"
}
],
"sequences": [
{
"@id": "https://ipfs.io/ipfs/QmbZekG5x834rwGKVZntBefkbNfL5auH171m4c26TZmCAo/kunshujo_400.jpg/sequence/normal",
"@type": "sc:Sequence",
"canvases": [
{
"@id": "https://ipfs.io/ipfs/QmbZekG5x834rwGKVZntBefkbNfL5auH171m4c26TZmCAo/kunshujo_400.jpg/canvas/p1",
"@type": "sc:Canvas",
"height": 289,
"images": [
{
"@id": "https://ipfs.io/ipfs/QmbZekG5x834rwGKVZntBefkbNfL5auH171m4c26TZmCAo/kunshujo_400.jpg/annotation/p1-image",
"@type": "oa:Annotation",
"motivation": "sc:painting",
"on": "https://ipfs.io/ipfs/QmbZekG5x834rwGKVZntBefkbNfL5auH171m4c26TZmCAo/kunshujo_400.jpg/canvas/p1",
"resource": {
"@id": "https://ipfs.io/ipfs/QmbZekG5x834rwGKVZntBefkbNfL5auH171m4c26TZmCAo/kunshujo_400.jpg",
"@type": "dctypes:Image",
"format": "image/jpeg",
"height": 289,
"width": 400
}
}
],
"label": "[1]",
"thumbnail": {
"@id": "https://ipfs.io/ipfs/QmbZekG5x834rwGKVZntBefkbNfL5auH171m4c26TZmCAo/kunshujo_400.jpg"
},
"width": 400
}
]
}
]
}
As a result, it became accessible at the following URL.
When I displayed this manifest file in Universal Viewer, it was displayed correctly as shown below.

Summary
While there are still many things I don't fully understand, I was able to add images and a IIIF manifest file to IPFS for now.



Comments
…