diff --git a/docs/contributors/documentation/README.md b/docs/contributors/documentation/README.md index 17f5013c03cabe..5be38844d9155a 100644 --- a/docs/contributors/documentation/README.md +++ b/docs/contributors/documentation/README.md @@ -186,6 +186,28 @@ An example config for using Visual Studio Code and the Prettier extensions: Depending on where you are viewing this document, the brackets may show as double. The proper format is just a single bracket. +### Images + +Images displayed in the Block Editor Handbook must be hosted in the [developer.wordpress.org](https://developer.wordpress.org/) Media Library, not linked from GitHub. + +Images linked directly from GitHub (for example, URLs starting with `https://raw.githubusercontent.com`) are subject to rate limiting and can fail to load once the documentation is synced to the Block Editor Handbook. Hosting them in the Media Library avoids this. + +To add an image: + +1. Upload the image to the Media Library on developer.wordpress.org. This requires additional permissions—if you don't have access, ask in the `#docs` channel in [Make WordPress Slack](https://make.wordpress.org/chat) for assistance. +2. Copy the URL of the uploaded image. It should look something like `https://developer.wordpress.org/files/2026/06/your-image.png`. +3. Reference the image in markdown using that URL, with descriptive alt text. + +For example: + +```md + +``` + +