# Buildkite-agent annotate prefetches images

**URL:** <https://forum.buildkite.community/t/buildkite-agent-annotate-prefetches-images/3967>\
**Category:** General\
**Created:** [October 14, 2024, 1:46pm UTC](https://forum.buildkite.community/t/buildkite-agent-annotate-prefetches-images/3967 "2024-10-14T13:46:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Germicide5416](https://avatars.discourse-cdn.com/v4/letter/g/d2c977/32.png) [@Germicide5416](https://forum.buildkite.community/u/Germicide5416)\
**Post date:** [October 14, 2024, 1:46pm UTC](https://forum.buildkite.community/t/buildkite-agent-annotate-prefetches-images/3967/1 "2024-10-14T13:46:32Z")

</div>

We use buildkite-agent annotate feature to mark our build. Thanks to the helpful examples in the [Docs](https://buildkite.com/docs/agent/v3/cli-annotate), we got creative about providing meaningful information to our team.

What I noticed though, when we reference external images hosted in Github’s private repository, they don’t get displayed at all. It is my observation that Buildkite attempts to preload images in annotations and store them in local cache. But since Buildkite itself doesn’t have an active session with Github, Github returns 404, and Buildkite stores no image.

Is there a way to make Buildkite to preserve the original URL without trying to retrieve them. This would allow the users with active Github session access the URL and retrieve the images.

Thanks.

---

<div class="post-metadata">

**Author:** ![suma](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/suma/32/1306_2.png) [@suma](https://forum.buildkite.community/u/suma)\
**Post date:** [October 14, 2024, 5:36pm UTC](https://forum.buildkite.community/t/buildkite-agent-annotate-prefetches-images/3967/2 "2024-10-14T17:36:54Z")

</div>

Hey @Germicide5416 👋,

This is Suma from Buildkite support team. Thank you for reaching out to us with your question.

Annotation using external images hosted in Github’s private repository is not supported exactly for the reasons you mentioned which is Buildkite UI will try to load the image but does not have access to your private Github repo.

Please can you confirm if you are posting just the url in the annotation ? If there is a build url which you can share with us where you see the issue we can check if there is any other way to get this working. If you have build url, please can you send it to [support@buildkite.com](mailto:support@buildkite.com) so we can check on it.

Thanks,  
Suma
