Skip to content

[Guide]Add Google image search to website!

Featured Replies

Hello, i show you how you can add google image search to your website...

 

Copy this code:

<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>Google Αναζήτηση Εικόνων</title><script>window.google={kEI:"tTDzSYi9OdzKjAeBoa2zDA",kEXPI:"17259,20257",kHL:"el"};
window.google.sn="imghp";window.google.timers={load:{t:{start:(new Date).getTime()}}};try{window.google.pt=window.gtbExternal&&window.gtbExternal.pageT()||window.external&&window.external.pageT}catch(b){}
window.google.jsrt_kill=1;
var _gjwl=location;function _gjuc(){var b=_gjwl.href.indexOf("#");if(b>=0){var a=_gjwl.href.substring(b+1);if(/(^|&)q=/.test(a)&&a.indexOf("#")==-1&&!/(^|&)cad=h($|&)/.test(a)){_gjwl.replace("/search?"+a.replace(/(^|&)fp=[^&]*/g,"")+"&cad=h");return 1}}return 0}function _gjp(){!(window._gjwl.hash&&window._gjuc())&&setTimeout(_gjp,500)};
window._gjp && _gjp();</script><style>body,td,a,p,.h{font-family:arial,sans-serif}.h{color:#36c;font-size:20px}.q{color:#00c}.ts td{padding:0}.ts{border-collapse:collapse}#gbar{height:22px;padding-left:2px}.gbh,.gbd{border-top:1px solid #c9d7f1;font-size:1px}.gbh{height:0;position:absolute;top:24px;width:100%}#gbi,#gbs{background:#fff;left:0;position:absolute;top:24px;visibility:hidden;z-index:1000}#gbi{border:1px solid;border-color:#c9d7f1 #36c #36c #a2bae7;z-index:1001}#guser{padding-bottom:7px !important}#gbar,#guser{font-size:13px;padding-top:1px !important}@media all{.gb1,.gb3{height:22px;margin-right:.73em;vertical-align:top}#gbar{float:left}}.gb2{display:block;padding:.2em .5em}a.gb1,a.gb2,a.gb3{color:#00c !important}.gb2,.gb3{text-decoration:none}a.gb2:hover{background:#36c;color:#fff !important}</style><script>google.y={};google.x=function(e,g){google.y[e.id]=[e,g];return false};window.clk=function(b,c,d,e,f,g,h){if(document.images){var a=encodeURIComponent||escape;(new Image).src=["/url?sa=T",c?"&oi="+a(c):"",d?"&cad="+a(d):"","&ct=",a(e||"res"),"&cd=",a(f),b?"&url="+a(b.replace(/#.*/,"")).replace(/\+/g,"%2B"):"","&ei=","tTDzSYi9OdzKjAeBoa2zDA",g].join("")}return true};
window.gbar={};(function(){var b=window.gbar,f,h;b.qs=function(a){var c=window.encodeURIComponent&&(document.forms[0].q||"").value;if(c)a.href=a.href.replace(/([?&])q=[^&]*|$/,function(i,g){return(g||"&")+"q="+encodeURIComponent(c)})};function j(a,c){a.visibility=h?"hidden":"visible";a.left=c+"px"}b.tg=function(a){a=a||window.event;var c=0,i,g=window.navExtra,d=document.getElementById("gbi"),e=a.target||a.srcElement;a.cancelBubble=true;if(!f){f=document.createElement(Array.every||window.createPopup?"iframe":"div");f.frameBorder="0";f.src="#";d.parentNode.appendChild(f).id="gbs";if(g)for(i in g)d.insertBefore(g[i],d.firstChild).className="gb2";document.onclick=b.close}if(e.className!="gb3")e=e.parentNode;do c+=e.offsetLeft;while(e=e.offsetParent);j(d.style,c);f.style.width=d.offsetWidth+"px";f.style.height=d.offsetHeight+"px";j(f.style,c);h=!h};b.close=function(a){h&&b.tg(a)}})();</script></head><body bgcolor=#ffffff text=#000000 link=#0000cc vlink=#551a8b alink=#ff0000 onload="document.f.q.focus();if(document.images)new Image().src='/images/nav_logo4.png'" topmargin=3 marginheight=3><textarea id=csi style=display:none></textarea><div id=gbar><nobr><a href="http://www.google.gr/webhp?hl=el&tab=iw" onclick=gbar.qs(this) class=gb1>Παγκόσμιος ιστός</a> <b class=gb1>Εικόνες</b> <a href="http://news.google.gr/nwshp?hl=el&tab=in" onclick=gbar.qs(this) class=gb1>Ειδήσεις</a> <a href="http://groups.google.gr/grphp?hl=el&tab=ig" onclick=gbar.qs(this) class=gb1>Ομάδες</a> <a href="http://blogsearch.google.gr/?hl=el&tab=ib" onclick=gbar.qs(this) class=gb1>Ιστολόγια</a> <a href="http://mail.google.com/mail/?hl=el&tab=im" class=gb1>Gmail</a> <a href="http://www.google.gr/intl/el/options/" onclick="this.blur();gbar.tg(event);return !1" aria-haspopup=true class=gb3><u>περισσότερα</u> <small>&#9660;</small></a><div id=gbi><a href="http://translate.google.gr/?hl=el&tab=iT" onclick=gbar.qs(this) class=gb2>Μετάφραση</a> <a href="http://www.google.com/calendar/render?hl=el&tab=ic" class=gb2>Ημερολόγιο</a> <a href="http://picasaweb.google.gr/home?hl=el&tab=iq" onclick=gbar.qs(this) class=gb2>Φωτογραφίες</a> <a href="http://docs.google.com/?hl=el&tab=io" class=gb2>Έγγραφα</a> <a href="http://sites.google.com/?hl=el&tab=i3" class=gb2>Ιστότοποι</a> <div class=gb2><div class=gbd></div></div><a href="http://www.google.gr/intl/el/options/" class=gb2>ακόμα περισσότερα »</a> </div></nobr></div><div class=gbh style=left:0></div><div class=gbh style=right:0></div><div align=right id=guser style="font-size:84%;padding:0 0 4px" width=100%><nobr><a href="https://www.google.com/accounts/Login?continue=http://images.google.gr/imghp%3Fhl%3Del%26tab%3Dwi&hl=el">Είσοδος</a></nobr></div><center><br clear=all id=lgpd><img alt="Google Αναζήτηση Εικόνων" height=110 src="/intl/el_ALL/images/images_hp.gif" width=276><br><br><form action="http://images.google.gr/images" name=f><table cellpadding=0 cellspacing=0><tr valign=top><td width=25%> </td><td align=center nowrap><input name=hl type=hidden value=el><input autocomplete="off" maxlength=2048 name=q size=40 title="Αναζήτηση εικόνων" value=""> <input name=btnG type=submit value="Αναζήτηση εικόνων"></td><td nowrap width=25%><font size=-2>  <a href=/advanced_image_search?hl=el>Σύνθετη Αναζήτηση Εικόνων</a><br>  <a href=/preferences?hl=el>Προτιμήσεις</a></font></td></tr></table><input type=hidden id=gbv name=gbv value="1"><script><!--
function g(a){var b="undefined",c="1";if(a&&a.getElementById)if(typeof XMLHttpRequest!=b)c="2";else if(typeof ActiveXObject!=b){var f,d,e="MSXML2.XMLHTTP",h=[e+".6.0",e+".3.0",e,"Microsoft.XMLHTTP"];for(f=0,d;d=h[f++];)try{new ActiveXObject(d);c="2"}catch(i){}}return c};window.updateFormGBV=function(a){var b=g(a);if(b=="2")a.getElementById("gbv").value=b};
updateFormGBV(document);//-->

Now go to your site open with notepad and past a code, save.

Vuala image search are added ;D

Enjoy!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.