Hello,
I'm trying to configure google custom search to only return images
from my search.
But it also returns web search!
Here is my code:
var customSearchOptions = {};
var imageSearchOptions = {};
imageSearchOptions['layout'] =
google.search.ImageSearch.LAYOUT_CLASSIC;
customSearchOptions['enableImageSearch'] = true;
customSearchOptions['filetype'] = 'jpg';
customSearchOptions['imageSearchOptions'] = imageSearchOptions;
var customSearchControl = new
google.search.CustomSearchControl('015544809827350742733:tb1985qexa8',customSearchOptions);
Can anyone help?
Thanks
--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
To view this message on the web, visit
http://groups.google.com/group/google-ajax-search-api?hl=en_US
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en