none
Geting images off the web

    Question

  • Hello all! I am trying to print out a few pages of the web (Actually 94) but you can only see them one at a time.

    so I was going to try to make a program to do this for me in small basic. But I cant seem to get the file off the web so I can print it. here is the link

    http://www.civilwarmusic.net/be_display.php?id=3 '<--- you can change the id to get a different page

    Is there an extension or something I can use to get these pictures off the web??

    is it possible??

    Thanks!


    A spark to start a fire is necessary. But mainly you need dry kindling.

    Friday, January 04, 2013 3:37 PM
    Answerer

Answers

  • How about download and save to a file, then print or use an extension to print. 

    Unfortunately the images are not downloaded with the HTML, since they are local on the server, but they can also be downloaded.

    i = 3
    
    'Get HTML
    pageFile = Program.Directory+"\Page"+i+".html"
    webFile = Network.GetWebPageContents("http://www.civilwarmusic.net/be_display.php?id="+i)
    File.WriteContents(pageFile,webFile)
    
    'Get Image
    imageURL = "http://www.civilwarmusic.net/images/be/"+i+".jpg
    imageTemp = Network.DownloadFile(imageURL)
    imageFile = Program.Directory+"\Image"+i+".jpg"
    File.CopyFile(imageTemp,imageFile)

    • Marked as answer by Zock77Editor Friday, January 04, 2013 8:10 PM
    Friday, January 04, 2013 6:29 PM
    Moderator

All replies

  • How about download and save to a file, then print or use an extension to print. 

    Unfortunately the images are not downloaded with the HTML, since they are local on the server, but they can also be downloaded.

    i = 3
    
    'Get HTML
    pageFile = Program.Directory+"\Page"+i+".html"
    webFile = Network.GetWebPageContents("http://www.civilwarmusic.net/be_display.php?id="+i)
    File.WriteContents(pageFile,webFile)
    
    'Get Image
    imageURL = "http://www.civilwarmusic.net/images/be/"+i+".jpg
    imageTemp = Network.DownloadFile(imageURL)
    imageFile = Program.Directory+"\Image"+i+".jpg"
    File.CopyFile(imageTemp,imageFile)

    • Marked as answer by Zock77Editor Friday, January 04, 2013 8:10 PM
    Friday, January 04, 2013 6:29 PM
    Moderator
  • THANK YOU SO MUCH! Thats exactly what I needed!

    A spark to start a fire is necessary. But mainly you need dry kindling.

    Friday, January 04, 2013 8:10 PM
    Answerer