this post was submitted on 01 Dec 2025
0 points (NaN% liked)

Photon

1092 readers
1 users here now

Photon for Lemmy

A client for the fediverse that is fast, modern, and intuitive.

This community is a place to ask questions, report bugs, check on the latest updates, or share your experiences with Photon!

You can contact me at @Xylight@lemdro.id.

You can support development at Buy me a coffee

Links

Rules

  1. Posts must be related to Photon (in any way)
  2. Don't be mean
  3. If your post is a bug report, please preface the title with [solved] if it's been fixed.

founded 2 years ago
MODERATORS
 

[![](https://upload.wikimedia.org/wikipedia/commons/4/44/Narrow-banded_dartwhite_%28Catasticta_flisa_postaurea%29_underside_on_Mimosa_pudica.jpg)](https://github.com/Xyphyn/photon/)

Above is an image inside a link. The image is broken.

I poked at the source code and found that MdImage gets passed href of the parent link and not the image url itself. So the image component tries to display https://github.com/Xyphyn/photon/ instead of what its supposed to. It's probably caused by value meant for parent being sent to children via those ...rest params in MdTree, but I couldn't follow that enough to find out how exactly.

Bonus: This bug lets me embed a video straight into the post

[![](https://upload.wikimedia.org/wikipedia/commons/4/44/Narrow-banded_dartwhite_%28Catasticta_flisa_postaurea%29_underside_on_Mimosa_pudica.jpg)](https://www.youtube.com/watch?v=dQw4w9WgXcQ)

top 1 comments
sorted by: hot top controversial new old
[–] Xylight 1 points 22 hours ago

Should be fixed in main. Thanks for giving pointers

The video embeds aren't a side effect, you can already do that: