Can't right click -> copy image to clipboard
Using Redlib with Docker on localhost.
Here's the HTML code of the image area:
<div class="post_media_content">
<a href="/img/u4ohbhkinpde1.jpeg" class="post_media_image short">
<svg width="800px" height="800px" xmlns="http://www.w3.org/2000/svg">
<image width="100%" height="100%" href="/img/u4ohbhkinpde1.jpeg"></image>
<desc>
<img loading="lazy" alt="Post image" src="/img/u4ohbhkinpde1.jpeg">
</desc>
</svg>
</a>
</div>
When I right-click on the picture, then "copy image to clipboard", it doesn't do anything. It doesn't replace the clipboard content. So I'm forced to open the image directly, and then copy image to clipboard.
I'm not sure where this issue come from, but that would be great if it were fixed.
To be clear, it is indeed copying the file data. It's the surrounding element data that is causing the difference.
One is an SVG Image element...
The other is an HTML img element.
Some sites parse both normally. But others do not. (Imgur works, google docs does not) For this reason, this is on the other sites to parse them both. That being said, if we can do anything to fix this, I'm open to the idea of it.