mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 01:18:42 +00:00
Add permanent images (#1878)
Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>
This commit is contained in:
parent
1cca9a2a92
commit
abd4584742
2 changed files with 27 additions and 0 deletions
27
assets/images/permanent/README.md
Normal file
27
assets/images/permanent/README.md
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# images/permanent/
|
||||
|
||||
Permanent static images
|
||||
|
||||
These images are made available in this particular folder to guarantee that their URLs will be accessible on the internet forever. (Or as close to that as we can.)
|
||||
We'll be careful to never change these URLs, lest we break images for folks.
|
||||
|
||||
> Why put these in a separate folder?
|
||||
> Just to make it harder to accidentally break the URLs by moving these images around, deleting them, or renaming them.
|
||||
> If we want to deprecate one of these images, set up an appropriate redirect for it in config/routes.js.
|
||||
|
||||
|
||||
## Adding an image
|
||||
|
||||
To add an image, simply add an image to this folder using Fleet's standard image naming convention:
|
||||
|
||||
For example:
|
||||
```
|
||||
images/permanent/icon-avatar-default-128x128@2x.png
|
||||
```
|
||||
|
||||
Then, after merging, your image will be available from anywhere that can talk to the public internet!
|
||||
|
||||
For example:
|
||||
```
|
||||
<img alt="An unbreakable image of a lovely default avatar." src="https://fleetdm.com/images/permanent/icon-avatar-default-128x128@2x.png"/>
|
||||
```
|
||||
BIN
assets/images/permanent/icon-avatar-default-128x128@2x.png
Normal file
BIN
assets/images/permanent/icon-avatar-default-128x128@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 621 KiB |
Loading…
Reference in a new issue