Results 1 to 11 of 11
  1. #1
    5 Star Lounger
    Join Date
    Jun 2001
    Location
    USA
    Posts
    708
    Thanks
    48
    Thanked 1 Time in 1 Post

    Extracting images from a Web site (Firefox 2.0.0.1

    Hello:

    I'd like to download the following pic:

    http://www.imdb.com/gallery/granitz/5742/B...2412178_400.jpg

    The problem is, this URL -- which, for some reason, calls up an entire Web page instead of the individual jpg -- is coded in such a way that I cannot right-click the image to download it.

    Any ideas how to get around this? Thanks!

  2. #2
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Sydney, Australia, New South Wales, Australia
    Posts
    251
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: Extracting images from a Web site (Firefox 2.0.0.1

    That image is actually at
    http://i.imdb.com/Photos/Events/5742/Brend...2412178_400.jpg

    To find out where a photo actually is:
    1. load the web page.
    2. Choose View, Source from the menu (or right click an empty area of the page and choose View Souce)
    3. You need to search the source for the actual address. You can try searching for some unique text near the picture (Brenda Strong in this case) or search for the text "img src=" (but this might find other images such as logos etc.
    4. Copy and paste that address into the address bar.
    You can now save the file.
    Note that there might be copyright or other conditions on such 'protected' images you may need to be aware of.
    There are various automated tools to 'scrape' images from websites. See http://en.wikipedia.org/wiki/Screen_scraping
    Peter

  3. #3
    5 Star Lounger
    Join Date
    Jun 2001
    Location
    USA
    Posts
    708
    Thanks
    48
    Thanked 1 Time in 1 Post

    Re: Extracting images from a Web site (Firefox 2.0

    Perfect! Thanks!

    One quick follow-up: which automatic scraped do you recommend for images like this? Thanks!

  4. #4
    4 Star Lounger
    Join Date
    Feb 2006
    Location
    Cape Cod, Massachusetts, USA
    Posts
    408
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Extracting images from a Web site (Firefox 2.0

    Good tip Al, did not know of that Firefox feature.

    Paul

  5. #5
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Sydney, Australia, New South Wales, Australia
    Posts
    251
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: Extracting images from a Web site (Firefox 2.0

    Same in Netscape 8

  6. #6
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Sydney, Australia, New South Wales, Australia
    Posts
    251
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: Extracting images from a Web site (Firefox 2.0

    I don't use a commercial product for that, so I don't have any recommendations there.
    The work I do in this arena I use the programming language Perl http://www.perl.com and the LWP library.
    My company http://www.plusplus.com.au creates purpose -written programs for clients to do things like this.
    Peter

  7. #7
    5 Star Lounger
    Join Date
    Nov 2004
    Location
    Wilmington, North Carolina, USA
    Posts
    1,196
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Extracting images from a Web site (Firefox 2.0

    The 'view source' option is particularly valuable when you want to download something from a site, but can't right click and choose 'save as'. After you find the media you wish to download you can do the following:

    1. Create a new text document.
    2. Paste the url to the media, and wrap it in the tags Click
    3. In the text document, go to File > Save as, and save it as .html.
    4. Close the document, and then open it with a web browser. Right click the link you just created, and click on 'Save link as' (Note: the text to save the media will differ in different browsers).
    ____________________________
    Jeremy
    "If you spend more on coffee than on IT security, then you will be hacked. What's more, you deserve to be hacked." -Richard Clarke

  8. #8
    Super Moderator
    Join Date
    Jun 2002
    Location
    Mt Macedon, Victoria, Australia
    Posts
    3,993
    Thanks
    1
    Thanked 45 Times in 44 Posts

    Re: Extracting images from a Web site (Firefox 2.0

    Another very quick and easy way to do this is just to save the page.
    In Firefox, if you go to File...Save Page As, then choose Web Page, complete as the type, Firefox will save the html file , and save all the images into a subfolder.
    (in this case the subfolder is called "BrendaStro_Vespa_12412178_400.jpg_files")
    Regards
    John



  9. #9
    Star Lounger
    Join Date
    Feb 2006
    Location
    Pittsburgh, PA USA
    Posts
    69
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Extracting images from a Web site (Firefox)

    Nice tip Big Al - thanks!

  10. #10
    Star Lounger
    Join Date
    Jun 2003
    Location
    Melb, Victoria, Australia
    Posts
    51
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Extracting images from a Web site (Firefox 2.0.0.1

    Nice tip bigaldoc, I must remember that one and likewise johnhutchison. My suggestion is a little off topic in as much as it pertains to Internet Explorer but it is another angle none the less. I work on the principle that if the graphic appeared on my screen, it will have been cached. With the URL you provided, once the page loaded I open Windows Explorer and navigate to the primary internet cache folder. For example in XP,
    "Cocuments and Settings********Local SettingsTemporary Internet Files" where ******** is the current user. (The same principle may be able to be applied with the firefox cache but I'm unable to test that at the moment)
    In the right pane I hit 'Last Accessed' twice to bring the most recently cached files to the top of the list. Not far down the list is BrendaStro_Vespa_12412178_400.jpg
    Now just copy/paste or drag/drop.

  11. #11
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Extracting images from a Web site (Firefox)

    Since your profile says you're using Firefox, you can also right-click a page and select "View Page Info." Usually stuff like images is on the tab in this attachment.
    Attached Images Attached Images

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •