RetroFed Forums
Your home away from modern life.
How do I upload and/or paste images and videos in comments?
Post Reply
AuthorMessage
printf("%s", name); piefed.blahaj.zone akunohana@piefed.blahaj.zone
Joined: 2026-03-30
Quote

In a post, I'm prompted to upload the media in question and then to select and paste it. However, in comments, I don't get prompted. It only pastes ![](https). I don't know how I am supposed to know the link and hash to a piece of media that I haven't been prompted for to upload yet. đŸ„ș

13   Original
Snoopy piefed.social Snoopy@piefed.social
Joined: 2025-02-25
#2 · Quote Reply

Usually, when you click on the picture button, there is a pop up dialog to upload picture. Like this one :

94ll41m0gtrQboU.png

5
Snoopy piefed.social Snoopy@piefed.social
Joined: 2025-02-25
#3 · (edited) Quote Reply

Usually, when you click on the picture button, there is a pop up dialog to upload picture. Like this one :

Okay i understand the popup does't appear in nested comment. I'm creating an issue.

8
h3ndrik piefed.social h3ndrik@piefed.social
Joined: 2024-06-21
#4 · (edited) Quote Reply

Okay i understand the popup does't appear in nested comment. I'm creating an issue.

Seems my comment didn't federate:

Huh. Seems like a bug... If I refresh the page a lot of times, sometimes the button works, sometimes it doesn't. I've attached a screenshot of the browser's developer console. Let's see if that image loads. It says "image button not found".

koLtvxYrL3dBSP2.png

Maybe some race condition between the separate parts of the JavaScript?

That is in the Downarea editor. (I have "Use Markdown editor [...]" enabled in my profile.

3
hendrik palaver.p3x.de hendrik@palaver.p3x.de
Joined: 2021-08-21
#5 · (edited) Quote Reply

Huh. Seems like a bug... If I refresh the page a lot of times, sometimes the button works, sometimes it doesn't. I've attached a screenshot of the browser's developer console. Let's see if that image loads. It says "image button not found".

koLtvxYrL3dBSP2.png

Maybe some race condition between the separate parts of the JavaScript?

2
printf("%s", name); piefed.blahaj.zone akunohana@piefed.blahaj.zone
Joined: 2026-03-30
#6 · Quote Reply

Okay i understand the popup does't appear in nested comment. I'm creating an issue.

Oh, wait, I may have creates an even greater issue. My account is registered over at BlÄhaj. And the popup DOES show up now when i tried it in this reply. Does it matter that I am registered through another instance or should it work anyway? Might they have some configuration that doesn't allow pasting images in comments?

1
Snoopy piefed.social Snoopy@piefed.social
Joined: 2025-02-25
#7 · Quote Reply

Oh, wait, I may have creates an even greater issue. My account is registered over at BlÄhaj. And the popup DOES show up now when i tried it in this reply. Does it matter that I am registered through another instance or should it work anyway? Might they have some configuration that doesn't allow pasting images in comments?

Does it matter that I am registered through another instance or should it work anyway?

No, you definitly found a bug. I also though it worked but the popup appear or hide. h3ndrik's comment below mine provide technical detail :

Huh. Seems like a bug
 If I refresh the page a lot of times, sometimes the button works, sometimes it doesn’t. I’ve attached a screenshot of the browser’s developer console. Let’s see if that image loads. It says “image button not found”.

Maybe some race condition between the separate parts of the JavaScript?

2
Rimu Moderator rimu@piefed.social
Joined: 2024-01-04
#8 · Quote Reply

Huh. Seems like a bug... If I refresh the page a lot of times, sometimes the button works, sometimes it doesn't. I've attached a screenshot of the browser's developer console. Let's see if that image loads. It says "image button not found". Maybe some race condition between the separate parts of the JavaScript?

That sounds likely. Maybe downarea.js needs to load before media_library.js

3
printf("%s", name); piefed.blahaj.zone akunohana@piefed.blahaj.zone
Joined: 2026-03-30
#9 · Quote Reply

Does it matter that I am registered through another instance or should it work anyway? No, you definitly found a bug. I also though it worked but the popup appear or hide. h3ndrik's comment below mine provide technical detail : Huh. Seems like a bug
 If I refresh the page a lot of times, sometimes the button works, sometimes it doesn’t. I’ve attached a screenshot of the browser’s developer cons...

Ah, I see. Thank you very much for clarifying! 😊

1
printf("%s", name); piefed.blahaj.zone akunohana@piefed.blahaj.zone
Joined: 2026-03-30
#10 · Quote Reply

Huh. Seems like a bug... If I refresh the page a lot of times, sometimes the button works, sometimes it doesn't. I've attached a screenshot of the browser's developer console. Let's see if that image loads. It says "image button not found". Maybe some race condition between the separate parts of the JavaScript?

Thank you for investigating! 😊 I wish I understood JavaScript better so that I could help...

2
Post Reply
Back to top