img

Chocolatey Images

This repository holds all images that can be found on Chocolatey websites.

This site is hosted on GitHub Pages at https://img-choco.oraclestar.dev/ + path/to/image.png.

Adding Images to This Repository

Keep the following in mind when adding new images:

Where to Find Stock Images

Using images from Google should be avoided. These images are copyrighted and are not recommended for commercial use. There are a number of websites that offer royalty free usage of images:

Using Images in Source Code

Most of the time, it is preferred to define an image as below:

HTML:

<img src="https://img-choco.oraclestar.dev/path/to/image.png" alt="Context about image" />

Markdown or MDX:

![Context about image](https://img-choco.oraclestar.dev/path/to/image.png)

To add spacing around an image:

<img class="mb-3" src="https://img-choco.oraclestar.dev/path/to/image.png" alt="Context about image" />

/* CSS Class Usage */
.mb-3 /* Adds spacing to bottom */
.mt-3 /* Adds spacing to top */
.ms-3 /* Adds spacing to left */
.me-3 /* Adds spacing to right */

To remove the border around an image:

<img class="border-0" src="https://img-choco.oraclestar.dev/path/to/image.png" alt="Context about image" />

For a centered image:

<div class="text-center"><img src="https://img-choco.oraclestar.dev/path/to/image.png" alt="Context about image" /></div>

For a left aligned image (with text wrapping):

<img class="float-start me-3" src="https://img-choco.oraclestar.dev/path/to/image.png" alt="Context about image" width="400" />

/* The defined width could be anything 600 and below, as long as it doesn't exceed the image properties */

For a right aligned image (with text wrapping):

<img class="float-end ms-3" src="https://img-choco.oraclestar.dev/path/to/image.png" alt="Context about image" width="400"/>

/* The defined width could be anything 600 and below, as long as it doesn't exceed the image properties */