Skip to content

Commit 6099900

Browse files
authored
Merge pull request #173 from OBF/peterjc-max-1024
Clarify goal of images up to 1024 pixels wide/tall
2 parents 6641e35 + 6cdfada commit 6099900

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ As an example: A file that resides in `static/img/2025/test-image.jpg` should be
9494

9595
It is also good practice to name media files with the date you add them/the date of the page/post you want to add them to, e.g. `static/img/2025/2025-03-04-blogpost-image.jpg` (using `yyyy-mm-dd` as the start of the filename).
9696

97+
Aim to keep within 1024 pixels high/wide to keep the file sizes reasonable for our pages to load quicky.
98+
9799
#### Some other random tips
98100

99101
- Where is the menu?? It's in hugo.yaml.

content/posts/YYYY-MM-DD-event-fellowship-blog-template.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,11 @@ In your forked repository:
6161

6262
### 4. Upload Your Images
6363

64-
1. Navigate to the folder: `static/img/YYYY/` for the current year
65-
2. Click **"Add file" → "Upload files"**
66-
3. Upload your image(s) here using the format YYYY-MM-DD-image-name.jpg
64+
1. Resize your images if needed to at most 1024 pixels high/wide
65+
(to keep the download size reasonable so the page loads quicky).
66+
2. Navigate to the folder: `static/img/YYYY/` for the current year
67+
3. Click **"Add file" → "Upload files"**
68+
4. Upload your image(s) here using the format YYYY-MM-DD-image-name.jpg
6769

6870
To insert images in your blog post, use the following format (without the static prefix):
6971

0 commit comments

Comments
 (0)