An image preview should appear in the Telegram message.
Only the URL to the image is being shown, no preview will ever show up.
Operating system: Windows 8
Version of Telegram Desktop: 1.1.19
Do you see any requests from Telegram servers in logs?
Probably it's a bug related either to lack of domain, or to port number being not 80/443.
Try to host the same image too.
This is most likely not related to TDesktop, but I'll close it once you find the problem and report to server side devs.
I am having the same problem here.
There is no preview for my image when posting the link on telegram.
The image is hosted on:
http://188.166.165.184/cloud/store/AgADBAADiq0xG5vA8VOaRuuF1o9DK3RQNBoABKMBI2a4dg-Xy5MFAAEC.jpg
@stek29 I checked what you asked and there was no request from telegram servers.
@733amir try to get a hostname and check if that solves it
I can reproduce on Telegram Web using an URL with a hostname:
https://suchat.org:5443/eea8337bf704834779249f08b25ab7ea69f6fbdd/slsIkO6FL2egF2T8d4sj6zm0WeL5wA6IgLegnR4J/l_NoSGeUQF-Ju4mkTkypag.jpg
It seems that ports other than 80 or 443 aren't previewed either.
Should I open a different issue on Telegram Web's repo?
I thought I'd put it all together here, since it's labelled as an API issue.
Also: Is this the desired behaviour for previews?
If you ask me, I'd prefer it wasn't. So that Telegram groups that are connected to XMPP MUCs via bots have better UX, as uploaded files on XMPP are likely served on a port different than standard HTTP/S (at least that's the case for suchat.org, xabber.de and diaspora.com.ar, the 3 chat providers I use).
That's known server side limitation, sadly
Most helpful comment
I can reproduce on Telegram Web using an URL with a hostname:
https://suchat.org:5443/eea8337bf704834779249f08b25ab7ea69f6fbdd/slsIkO6FL2egF2T8d4sj6zm0WeL5wA6IgLegnR4J/l_NoSGeUQF-Ju4mkTkypag.jpg
It seems that ports other than 80 or 443 aren't previewed either.
Should I open a different issue on Telegram Web's repo?
I thought I'd put it all together here, since it's labelled as an API issue.
Also: Is this the desired behaviour for previews?
If you ask me, I'd prefer it wasn't. So that Telegram groups that are connected to XMPP MUCs via bots have better UX, as uploaded files on XMPP are likely served on a port different than standard HTTP/S (at least that's the case for suchat.org, xabber.de and diaspora.com.ar, the 3 chat providers I use).