2012-02-17 105 views
2

是否可以直接從我自己的網頁上通過圖片搜索?谷歌按照自己網站上的圖片搜索

我想插入一個像這樣的網址:「http://thegalaxyguide.com/galaxy/sun/ultra_violet_sun.gif」,然後重定向到谷歌並觀看結果。

我想這

<form method="get" action="http://images.google.com/searchbyimage" 
    <input type="text" /> 
    <input type="submit" value="Search" /> 
    </form> 

但它只是去網上搜尋自己的網頁 「按圖搜索」 ......

回答

1

這確實

<form method=get action='http://www.google.co.in/searchbyimage'> 
<input type=text name=image_url value='https://www.google.com/intl/en_com/images/srpr/logo3w.png'> 
<input type=hidden name='encoded_image' value='' /> 
<input type=hidden name='image_content' value='' /> 
<input type=hidden name='filename' value='' /> 
<input type=hidden name='num' value='10' /> 
<input type=hidden name='hl' value='en' /> 
<input type=hidden name='authuser' value='0' /> 
<input type=hidden name='bih' value='638' /> 
<input type=hidden name='biw' value='1366' /><br> 
<input type=submit name='biw' value='search' /> 
</form> 
+0

謝謝!完美的作品 – Lasse 2012-02-18 11:48:34