# Auto Upload External Images

**URL:** <https://forum.ghost.org/t/auto-upload-external-images/49195>\
**Category:** Using Ghost\
**Created:** [July 31, 2024, 6:41pm UTC](https://forum.ghost.org/t/auto-upload-external-images/49195 "2024-07-31T18:41:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![HelgeMattig](https://avatars.discourse-cdn.com/v4/letter/h/e8c25b/32.png) [@HelgeMattig](https://forum.ghost.org/u/HelgeMattig)\
**Post date:** [July 31, 2024, 6:41pm UTC](https://forum.ghost.org/t/auto-upload-external-images/49195/1 "2024-07-31T18:41:28Z")

</div>

I’m currently using substack but looking to transfer to a self hosted solution.

I usually copy & past text (which includes images) into the substack editor when creating posts. Substack then automatically uploads the images (external links) to the substack server and replaces the external urls with substack internal urls.

It basically does what this wordpress plugin does:

> **[Auto Upload Images](https://wordpress.org/plugins/auto-upload-images/)**
>
> Automatically detect external images in the post content and import images to your site then adding to the media library and replace image urls.

I expected ghost to have the same feature but as turns out (today i installed an instance of ghost locally to try it out) it does not.  
When i copy & past images into the ghost editor it does not upload these images to my server but simply keeps (linking) to the external urls.

Is there a setting or plugin to change this or is this simply not possible with ghost?

---

<div class="post-metadata">

**Author:** ![Michael\_McGinnis](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/michael_mcginnis/32/29329_2.png) [@Michael\_McGinnis](https://forum.ghost.org/u/Michael_McGinnis)\
**Post date:** [August 2, 2024, 1:57am UTC](https://forum.ghost.org/t/auto-upload-external-images/49195/2 "2024-08-02T01:57:11Z")

</div>

What are you copying and pasting from? Microsoft Word?

---

<div class="post-metadata">

**Author:** ![HelgeMattig](https://avatars.discourse-cdn.com/v4/letter/h/e8c25b/32.png) [@HelgeMattig](https://forum.ghost.org/u/HelgeMattig)\
**Post date:** [August 2, 2024, 1:41pm UTC](https://forum.ghost.org/t/auto-upload-external-images/49195/3 "2024-08-02T13:41:49Z")

</div>

No i built a custom php script to generate parts of my posts. I then just copy & paste the output of that script (which is a basic html website). When i do that, ghost does NOT upload the images but just keeps linking to the external images/urls.

I just tried copy pasting from “Libre Office Writer” since i’m on Linux. After pasting into the ghost editor it says “upload in progress, 0” but unfortunately it stays there forever. Doesn’t matter if i have external images or from local disk in my libre office document.

I installed ghost locally for evalution following these steps:

> **[How to install Ghost locally on Mac, PC or Linux](https://ghost.org/docs/install/local/)**
>
> A detailed local install guide for how to install the Ghost publishing platform on your computer running Mac, PC or Linux. Ideal for Ghost theme development.

Edit:  
Uploading images into the ghost editor manually works just fine.

---

<div class="post-metadata">

**Author:** ![Michael\_McGinnis](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/michael_mcginnis/32/29329_2.png) [@Michael\_McGinnis](https://forum.ghost.org/u/Michael_McGinnis)\
**Post date:** [August 2, 2024, 1:45pm UTC](https://forum.ghost.org/t/auto-upload-external-images/49195/4 "2024-08-02T13:45:19Z")

</div>

Maybe you should post some HTML code produced by your custom PHP, so we can see if we can duplicate the problem. That might be enough for a bug report.

---

<div class="post-metadata">

**Author:** ![HelgeMattig](https://avatars.discourse-cdn.com/v4/letter/h/e8c25b/32.png) [@HelgeMattig](https://forum.ghost.org/u/HelgeMattig)\
**Post date:** [August 2, 2024, 1:56pm UTC](https://forum.ghost.org/t/auto-upload-external-images/49195/5 "2024-08-02T13:56:51Z")

</div>

The output i’m copying is extremely basic:

```auto
<h1>1.&nbsp;1981 Pontiac Trans Am Bandit Special Edition</h1>
<p><img src="https://images.craigslist.org/00k0k_aet7alFTP5L_0gw0co_1200x900.jpg" style="max-width:100%;"></p>
<p>For sale <a href="https://lasvegas.craigslist.org/ctd/d/henderson-1981-pontiac-trans-am-bandit/7770348972.html" target="blank">here on craigslist</a> where the selling dealer is asking 98,980$.</p>

<h1>2.&nbsp;1969 Chevrolet Camaro Convertible</h1>
<p><img src="https://images.craigslist.org/00606_7lQBNpgTRXc_0hd0bM_1200x900.jpg" style="max-width:100%;"></p>
<p>For sale <a href="https://lasvegas.craigslist.org/ctd/d/albertville-1969-chevrolet-chevy-camaro/7770900192.html" target="blank">here on craigslist</a> where the selling dealer is asking 29,900$.</p>

```

But as i said, when copy & pasting from “Libre Office Writer” instead it also does not work but with a different problem. (See my last post)
