Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jan 2004
    Location
    Des Moines, Iowa
    Posts
    219
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Image Grabber - Help

    Hello all... Another great question from my world


    I have an image grabber script that is grabbing images from a book publisher's website (with their permission of course) so that our book sales website will have the correct book cover.

    One of our publishers have an asp image displayer that instead of displaying the image in the browser, causes the browser to attempt to download the image.

    My script doesn't handle this, thus, I'm not getting the image.

    Does anyone have any suggestions on how I can grab that image for insertion into our database?

    Thanks in advance,
    Rich
    Rich S. Wyatt
    D3 Web Creations

  • #2
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,051
    Thanks
    10
    Thanked 94 Times in 92 Posts
    if you mean that the image is addressed as say domain.com/image.asp?imgid=69 etc , then it really should not matter to your grabber (unless it only even looks for .gif/jpg etc )

    its possible that the ASP script is not outputting the correct image headers (those pesky asp dudes ) but without an image url to test we can't be sure about that.

    even if the wrong headers are forthcoming your script should still be able to write the correct headers but can only guess how your script actually works
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)


  •  

    Posting Permissions

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