Get images from url

Discussion in 'Web Design and Development' started by VonBP, Jul 2, 2010.

  1. VonBP macrumors newbie

    Jul 2, 2010
    Hi There!

    This is what i want to do: i want users tu complete a form, and in that form enter a URL, that URL has some images that i need to add to a html.

    When someone completes the form, is sent to my mail. But the important thing here is that my form sends me a .html file, basically a webpage, but with the information users submited. I want to display one of the images of the URL that they entered in my html. So they enter a URL, for example, and i get in my html

    The other day, found this site, and i studied it, and when you submit an app, you enter the itunes url of the app, and it automatically gets the images and info, i want something similar.

    Any ideas? Hope it isn't to complicated.
  2. kingthias macrumors member

    Feb 11, 2009
    This isn't the complete solution but google images offers code for custom searches so the following code will return all images that fit a search in a website. You could also just show all pictures.

     *  How to search for images on a specific site.
    google.load('search', '1');
    function onLoad() {
      // Create a search control.
      var searchControl = new;
      // Create an ImageSearch.
      var imageSearch = new;
      // Set a site restriction to the desired web site.
      // Add the searcher to the SearchControl.
      // Tell the searcher to draw itself and tell it where to attach.
      // Search!

Share This Page