# Photos are broken for synced posts to Wordpress using WP Discourse

**URL:** https://meta.discourse.org/t/photos-are-broken-for-synced-posts-to-wordpress-using-wp-discourse/319342
**Category:** WordPress
**Created:** [July 30, 2024, 9:23pm UTC](https://meta.discourse.org/t/photos-are-broken-for-synced-posts-to-wordpress-using-wp-discourse/319342 "2024-07-30T21:23:21Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![federatedRoss](https://avatars.discourse-cdn.com/v4/letter/f/46a35a/32.png) [@federatedRoss](https://meta.discourse.org/u/federatedRoss)
#### Post date: [July 30, 2024, 9:23pm UTC](https://meta.discourse.org/t/photos-are-broken-for-synced-posts-to-wordpress-using-wp-discourse/319342/1 "2024-07-30T21:23:21Z")

</div>

After connecting, the posts go through to my discourse install, however the photos are broken. This is the HTML that they show:

```plaintext
<svg class="fa d-icon d-icon-unlink svg-icon" aria-hidden="true"><use href="#unlink"></use></svg>

```

Our posts are using relative urls, so “/wp-content/uploads/lalala.jp” instead of absolute URLs. I wonder if this is causing the issue?

Our site we are testing this with is: [https://slowtwitch.cloud](https://slowtwitch.cloud), which will have a domain change before moving to production. In case you need to view the pages.

---

<div class="post-metadata">

### Author: ![federatedRoss](https://avatars.discourse-cdn.com/v4/letter/f/46a35a/32.png) [@federatedRoss](https://meta.discourse.org/u/federatedRoss)
#### Post date: [July 30, 2024, 9:41pm UTC](https://meta.discourse.org/t/photos-are-broken-for-synced-posts-to-wordpress-using-wp-discourse/319342/2 "2024-07-30T21:41:39Z")

</div>

Quick update, I found the issue.

Long story short, I migrated this site from a 35 year old Gossamer Links site… and the import code used relative URLs for the images. When I converted one of the posts to a block based post, and replaced the images… voila it worked.

Leaving the post up in case anyone else searches this issue.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [August 29, 2024, 9:41pm UTC](https://meta.discourse.org/t/photos-are-broken-for-synced-posts-to-wordpress-using-wp-discourse/319342/3 "2024-08-29T21:41:47Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
