Skip to content

Commit 40b8dee

Browse files
page for images added
1 parent 0f023c4 commit 40b8dee

File tree

2 files changed

+78
-4
lines changed

2 files changed

+78
-4
lines changed

config.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,19 +58,20 @@ contact: 'team@carpentries.org'
5858
# - another-learner.md
5959

6060
# Order of episodes in your lesson
61-
episodes:
61+
episodes:
6262
- introduction.Rmd
6363
- urls.Rmd
6464
- web-services.Rmd
65+
- process-media.Rmd
6566

6667
# Information for Learners
67-
learners:
68+
learners:
6869

6970
# Information for Instructors
70-
instructors:
71+
instructors:
7172

7273
# Learner Profiles
73-
profiles:
74+
profiles:
7475

7576
# Customisation ---------------------------------------------
7677
#

episodes/process-media.Rmd

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
---
2+
title: 'Process media files'
3+
teaching: 10
4+
exercises: 2
5+
---
6+
7+
## Search for content
8+
9+
Repositories on which you might find this, include:
10+
11+
- [Journal of Digital History Journal](https://journalofdigitalhistory.org/)
12+
- [Science Group Museum](https://collection.sciencemuseumgroup.org.uk/)
13+
- [Europeana](https://www.europeana.eu/en)
14+
15+
16+
17+
## Put on server
18+
19+
Download all images, videos and 3D models you collected.
20+
21+
22+
23+
Save them in a folder, check for file names - avoid spaces, weird characters,
24+
and use descriptive names.
25+
26+
Images tend to have PNG or JPG (compressed format). If using IIIF we need
27+
a TIFF format which is an uncompressed way of storing the information
28+
of an image.
29+
30+
Using GIMP or in the command line convert images to the extension TIF.
31+
32+
```console
33+
foo@bar:~$ mogrify -format tif -path alltifs images/*.png images/*.jpeg
34+
```
35+
36+
This command in the console uses [ImageMagick](https://imagemagick.org/index.php),
37+
where:
38+
39+
- **images** is the folder where you have your images,
40+
- **alltifs** is the folder where you want to store your results
41+
42+
43+
## Creating a manifest:
44+
45+
Two editors and follow instructions:
46+
47+
- [https://training.iiif.io/iiif-online-workshop/day-three/bodleian-editor/](https://training.iiif.io/iiif-online-workshop/day-three/bodleian-editor/)
48+
- [https://manifest-editor.digirati.services/](https://manifest-editor.digirati.services/)
49+
50+
51+
Please note manifests can have more than one canvas if you want to add more than one image to the manifest.
52+
53+
54+
Save the file using a recognisable name, such as:
55+
56+
*[nameofmyimage]-manifest.json*
57+
58+
in your html folder, you should be able to access it.
59+
60+
61+
62+
::::::::::::::::::::::::::::::::::::: challenge
63+
64+
## Challenge: Create all manifests for your folder
65+
66+
Copy an image into your same folder.
67+
68+
Link the image from the main *index.html* page.
69+
70+
71+
72+
73+

0 commit comments

Comments
 (0)