[discuss.kde.org] [Bug 496306] Images are not rendering in blog posts cross-posted to discuss.kde.org

Phu H. Nguyen bugzilla_noreply at kde.org
Fri Nov 15 22:17:59 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=496306

Phu H. Nguyen <phu.nguyen at kdemail.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |phu.nguyen at kdemail.net

--- Comment #3 from Phu H. Nguyen <phu.nguyen at kdemail.net> ---
The issue is that links of those missing images are made as relative, so even
though they show up fine on their original sites, when those posts containing
those image links are passed to other sites via RSS, the "base URL" is
different, and those relative links become invalid. And Discuss uses RSS feeds
to get posts from other sites. You can also see the same missing images on
planet.k.o.

Now, all those sites with missing images we are talking about here use the same
Hugo RSS template. And that RSS template is still doing the (maybe) simplest
way: it doesn't try to be smart and decide for the authors where they want
their image links to be relative to, it just expects that image links are
absolute, i.e. it keeps links the same with no modification. So, the solution
here IMO is to fix the links on their source posts.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kde-www mailing list