Code for auto-image update?

  • Started
  • Last post
  • 1 Response
  • TwoTimesDaily

    First off I'm not very code saavy, so this question might hold an obvious answer, so bare with me.

    I have an img src on a site, and this img src is linked from another website, in other words this image is hosted by them, but it's also changed daily by them. I want to display this image on a site of my own and have it update whenever the other site updates it. Does anyone know of an existing script that will execute this? I'm not even sure if this is possible, somebody fill me in when you get the chance.

    Thanks,
    Mike

  • heavyt0

    my thought is to scrape the code of that page to find the image name.
    If the image has an ID, or if it is always in a div with an ID, you could easily pull the filename out of that.

    I am sure that they change the filename just to prevent people from doing what you are doing. Generally, that sort of thing is frowned upon.