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

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -