-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Description
When copying images from firefox to telegram, the latter does not insert the image data as a photo, but instead downloads the same image by url. This wastes twice the amount of traffic on re-downloading the picture.
In addition, this creates a problem when copying pictures from sites protected by authorization, because telegram does not have the same cookies - instead, it downloads the 403 page as a file and tries to send it.
Steps to reproduce (example 1)
- Take, for example, large photo from wikipedia (~80 MB): https://upload.wikimedia.org/wikipedia/commons/e/ec/Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg
- Right-click it and select "Copy image"
- Paste it into telegram input field
- Observe how long it is pasted
Steps to reproduce (example 2)
(You'll need account on pixiv.net - it's free)
- Navigate to a pixiv image, e.g.: https://www.pixiv.net/en/artworks/79037838
- Click on the artwork to enlarge it
- Right-click it and select "Copy image"
- Paste it into telegram input field
- Image is not copy-pasted, instead a 146 bytes file is prompted to send, which contains "403 Forbidden" message
Expected behaviour
Image is copy-pasted without redownload.
Actual behaviour
Telegram forces it to download again.
Configuration
Operating system: Windows 10 20H2
Version of Telegram Desktop: 2.6.1
Installation source (Linux Only) - the official website / GitHub releases / flatpak / snap / distribution package: -
Used theme: -
Remu-rin, AlexanderAmelkin, geekswamp, Amir-m-a and aNNiMON