# Can 'download my posts' output have consistently useful inline images?

**URL:** https://meta.discourse.org/t/can-download-my-posts-output-have-consistently-useful-inline-images/53828
**Category:** Feature
**Created:** [December 6, 2016, 1:45am UTC](https://meta.discourse.org/t/can-download-my-posts-output-have-consistently-useful-inline-images/53828 "2016-12-06T01:45:05Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)
#### Post date: [December 6, 2016, 1:45am UTC](https://meta.discourse.org/t/can-download-my-posts-output-have-consistently-useful-inline-images/53828/1 "2016-12-06T01:45:05Z")

</div>

Here on Meta, the “download my posts” files have a mostly complete URL in the src attribute of uploaded images, lacking only scheme, something like this:

`<img src="//cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/meta/original/3X/0/6/0654...`

But on other sites, such as the Discourse hosted [bbs.nextthing.co](http://bbs.nextthing.co) the URLs lack even a hostname:

`<img src='/uploads/nextthing/original/2X/f/f2cf3de9...`

(I notice that the nextthing .csv file has some `src="..."` and some `src='...'`, while I only see the first form in the .csv file from Meta.)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [December 6, 2016, 9:41am UTC](https://meta.discourse.org/t/can-download-my-posts-output-have-consistently-useful-inline-images/53828/2 "2016-12-06T09:41:09Z")

</div>

There should be the hostname (or the CDN if enabled) for local uploads… is that from an old post? Does the URL change after you rebuild the HTML of that post?

---

<div class="post-metadata">

### Author: ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)
#### Post date: [December 6, 2016, 6:26pm UTC](https://meta.discourse.org/t/can-download-my-posts-output-have-consistently-useful-inline-images/53828/3 "2016-12-06T18:26:29Z")

</div>

That was output from the profile button “Download my Posts” from two sites that I am a user on, not an admin.

 ![](https://global.discourse-cdn.com/meta/original/3X/a/7/a7430661f03154d4de7f50ed0262c3ed856248e2.png)

Both of those downloads were made yesterday. I’ve got such post archives from a number of sites, but not all of them do I have uploaded images on. I have started to consider also archiving the images I have with the posts, and to do that I need to parse out the HTML. It would be helpful if Discourse would use a consistent format.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [June 7, 2017, 5:33am UTC](https://meta.discourse.org/t/can-download-my-posts-output-have-consistently-useful-inline-images/53828/4 "2017-06-07T05:33:18Z")

</div>

Is this still an issue?

---

<div class="post-metadata">

### Author: ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)
#### Post date: [June 7, 2017, 7:42pm UTC](https://meta.discourse.org/t/can-download-my-posts-output-have-consistently-useful-inline-images/53828/5 "2017-06-07T19:42:06Z")

</div>

Yes, a fresh download of Meta and Nextthing posts show both are in the same format.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [June 7, 2017, 9:25pm UTC](https://meta.discourse.org/t/can-download-my-posts-output-have-consistently-useful-inline-images/53828/6 "2017-06-07T21:25:56Z")

</div>


