Please consider the following code as presented under:
Google Playground->Search->General Search->Raw Search
google.load('search', '1');
var imageSearch;
.
.
.
function OnLoad()
{
imageSearch = new google.search.ImageSearch();
imageSearch.setRestriction(google.search.ImageSearch.RESTRICT_IMAGESIZE,
google.search.ImageSearch.IMAGESIZE_MEDIUM);
imageSearch.setSearchCompleteCallback(this, searchComplete, null);
imageSearch.execute("Subaru STI");
}
google.setOnLoadCallback(OnLoad);
What I require is, I need a clean search page with images and titles
only. I would pass the search string through url that's why I don't
need a search box and the control options for expand modes. Everything
goes fine with this code but the problem is, it shows only four
results per page.
Is there any way that could help me to specify the number of results
per page? Or can I use the expand modes programatically without having
the SearchControl? Is there any method under the ImageSearch object,
to do so?
--
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].
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en.