html - Cannot create direct link to image hosted online -
i trying add background image http://wallpaperswide.com/rocky_peak-wallpapers.html website.
the link particular image http://wallpaperswide.com/download/rocky_peak-wallpaper-1920x1080.jpg.
however, if try load image second link, doesn't load. if paste url browser, redirects me first link.
why happen? thanks.
edit
i'm getting answers there http redirect. know can download file , use locally.
however, problem i'm writing script dynamically takes image wallpaperswide.com site , automatically getting image fits person's screen resolution. scan page links , try use links. can't download every image site , have them locally...
any suggestions?
because http://wallpaperswide.com/download/rocky_peak-wallpaper-1920x1080.jpg
not image, it's document.
http urls point documents, therefore web server able process , give appropriate result.
Comments
Post a Comment