this post was submitted on 28 Jan 2025
1 points (100.0% liked)

Tech

0 readers
3 users here now

For discussion of tech related news and events, software development, and more.

founded 1 week ago
 

@[email protected] Is there an open GitHub issue for federated images not showing up? It creates links, but the upload seems to have failed, so it just returns a 404 on my end.

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 6 days ago
[–] [email protected] 1 points 1 week ago

@[email protected] do federated images not work only on your instance, or on here as well?

[–] [email protected] 1 points 1 week ago

They show up as a link to a long uuid, which when clicked, goes to 404.

[–] [email protected] 1 points 1 week ago (1 children)

If you're talking about inline images, they are federating out as relative links. For example, the in the AP for https://community.nodebb.org/post/102818, the 'content' look like:

   "content": "<p><img /></p>\n<p> (snip)",
  "source": {
    "content": "![c40d9378-d355-4d5c-80b0-b0b43b509e55-image.png](/assets/uploads/files/1737576484993-c40d9378-d355-4d5c-80b0-b0b43b509e55-image.png) (snip)",
    "mediaType": "text/markdown"
  }

So if you look at the same post on agnos it's trying to fetch an image relative to the wrong base.

[–] [email protected] 1 points 1 week ago

@freamon got it thanks. It's a markdown issue which I'll try to address.