Skip to content

Commit 17f67df

Browse files
committed
Update contributing.md for Nextcloud image hosting
1 parent e991511 commit 17f67df

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

docs/contributing.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,19 @@ The $n$th Fibonacci number is given by $F_n = F_{n-1} + F_{n-2}$.
4646

4747
## Adding images
4848

49-
Right now, we don't have a good solution for hosting images. You have a few options:
50-
51-
- For small images, add them in `docs/assets/images/`.
52-
- For videos or larger images, use an external host or [GitHub's CDN](https://gist.github.com/NawalJAhmed/2168f7659c08b6a033e7f6daf8db69a6).
53-
54-
When including any image, be sure to include a brief text description of the image for screen readers. For example:
49+
We are hosting images using a [private Nextcloud instance](https://cloud.hypercubing.xyz/) hosted on DigitalOcean. Contact HactarCE on Discord to get access to add images to be hosted there. Once you have an image somewhere in the `assets` folder, you can embed it in a page. When including any image, be sure to include a brief text description of the image for screen readers. For example:
5550

5651
```md
57-
![Erno Rubik inspecting Melinda's 2x2x2x2](/assets/images/ErnoInspects2222.jpg)
52+
![Erno Rubik inspecting Melinda's 2x2x2x2](https://cloud.hypercubing.xyz/assets/img/phys/melinda_2x2x2x2_erno_inspects.jpg)
5853
```
5954

55+
### Naming images
56+
57+
- Organize images into folders when possible. If you're adding many related images, consider making a new folder for them.
58+
- Use underscores when naming.
59+
- Use only lowercase, except when the filename includes twist notation.
60+
- Try to stay consistent with existing filenames.
61+
6062
## Abbreviations
6163

6264
Abbreviations are listed in `includes/abbreviations.md`. Be careful adding new ones, lest you create another [Grant Standingslice incident](/jokes#grant-standingslice).

0 commit comments

Comments
 (0)