# Upload images from Github .md file using Discourse API

**URL:** <https://meta.discourse.org/t/upload-images-from-github-md-file-using-discourse-api/198661>\
**Category:** Development\
**Created:** [July 30, 2021, 10:42am UTC](https://meta.discourse.org/t/upload-images-from-github-md-file-using-discourse-api/198661 "2021-07-30T10:42:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [July 30, 2021, 12:26pm UTC](https://meta.discourse.org/t/upload-images-from-github-md-file-using-discourse-api/198661/2 "2021-07-30T12:26:17Z")

</div>

If your script is pushing the raw md from github to discourse then you’ll need to have your script find those relative links and add the github domain.

---

_[View the full topic](https://meta.discourse.org/t/upload-images-from-github-md-file-using-discourse-api/198661)._
