html - Twitter t.co links is not fetching images -


t.co of twitter not fetching images. after redirecting link unable fetch images. code is:

<pre>   <img class="imgmyclass" src="https://t.co/onj4gps4rq"> </pre> 

please help. thanks

because url not point image.

as far image in link trying extract image concerned, use this:

<img class="imgmyclass" src="https://pbs.twimg.com/media/cz4p4tcuaaeqkjt.jpg"> 

where src tag used point image, not url of page contains post , image associated it.

if want extract image url, open html page, right click on image , hit copy link address. not forget give proper credits owner of image.


Comments