I'm looking for code (PHP/JS)- I'll write text in INPUT field and I'll see number of images optional (from google images search) for what I searched for. When I click on one of the images another text field will get the image URL (that I clicked on) Do U have script that do that?
For this type of project you would need an API the bad news is google only offers one for streetview images not and normal image search. You can view the massive list of API's google supports here code.google.com/apis/console/ Another approach would be to write your own. Take a look below at the search URL for cat images from google images. hxxps://www.google.com/search?num=10&hl=en&biw=1920&bih=911&q=cat+images&um=1&ie=UTF-8&tbm=isch&source=og&sa=N&tab=wi&ei=uCFvUO-uEuWf0QXrmoE4 Notice the cat+images section in the middle if changed this to phone+images it will return phone pics. Ok so now we can call the pages from a script. You could then write a custom script and use CURL to return the page and parse out the links one by one and return a small preview of the images.