0
Import first image Google in ImageField
I'm trying to import with a button the first imageresult of google
"//Building URL field";
let myURL := "http://www.google.com/search?q=" + 'Nome Hotel';
"//Putting the URL in the URL-Field to display";
'URL IMMAGINE' := myURL;
"//Delete the existing picture";
'Immagine Hotel' := null;
"//Getting the URL-image from internet and display it in the picture field";
importFile(this.ID, 'URL IMMAGINE', "hotel.jpg");
'Immagine Hotel' := first(files(this))
This is the result I get:
Down the image that I need to import
Is there also a way to import in another field the map that I get as result in png in google? So I mean the second result?
Thanks
Reply
Content aside
- 4 yrs agoLast active
- 637Views