telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
26.23k stars 5.2k forks source link

Open images from link previews in Telegram #3488

Closed maxoku closed 11 months ago

maxoku commented 7 years ago

Steps to reproduce

  1. Sent link of a page containing an image
  2. See preview with a thumbnail of that image
  3. Click on that thumbnail

Expected behavior See image in full size in Telegram

Actual behavior The page is opened in the browser

Configuration Version of Telegram Desktop: 1.1.7

If it already loads a thumbnail of the image why can't open it in full size? Why instead of that I need to trouble the browser for that? @auchri Happy now? ;p

Lonami commented 5 years ago

This is happening when the webPage's type is "document" instead of "photo", even if the webPage only has a photo present. tdesktop should probably guide itself by the photo field being present, not the string.

Lonami commented 5 years ago

Probably this?: https://github.com/telegramdesktop/tdesktop/blob/1ebd9562a2c5bd797f06c961e6282307a2e8602d/Telegram/SourceFiles/data/data_web_page.cpp#L131-L139

SmartManoj commented 5 years ago

https://github.com/telegramdesktop/tdesktop/issues/6266#issuecomment-510008596

bb010g commented 4 years ago

Would this be a good first issue?

stale[bot] commented 4 years ago

Hey there!

This issue will be automatically closed in 7 days if there would be no activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

maxoku commented 4 years ago

Is it solved?

Lonami commented 4 years ago

No, I'm pretty sure it's not solved yet, a friend complained recently about it.

stale[bot] commented 3 years ago

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

maxoku commented 3 years ago

Still not resolved.

maxoku commented 11 months ago

Still not resolved.

Aokromes commented 11 months ago

Still not resolved.

https://i.imgur.com/zjcBSxJ.png

maxoku commented 11 months ago

Still not resolved.

https://i.imgur.com/zjcBSxJ.png

???