-
Notifications
You must be signed in to change notification settings - Fork 1
Uploading images to the gallery
Oscar edited this page Oct 5, 2020
·
1 revision
Files should be uploaded to the gallery with the name in the following format:
<competition year>_<image_number>.jpg
For example, 2020_03.jpg would be the third image for the 2020 Student Robotics competition.
You can find out what number is next by looking at the existing images in /content/gallery/images/
You will then want to reference this image in the gallery page, either via the CMS or adding the name to a new line in the /content/gallery/index.md
file. See below for how this file should look:
title: Gallery
date: 2019-03-09T11:25:59.000Z
draft: false
type: gallery
images:
- /gallery/images/2019_01.jpg
- /gallery/images/2019_02.jpg
- /gallery/images/2019_03.jpg
- /gallery/images/2019_04.jpg
- /gallery/images/2019_05.jpg
- /gallery/images/2019_06.jpg
- /gallery/images/2019_07.jpg
---cut to keep short---
- /gallery/images/2020_12.jpg
---
# Gallery```