I've had no luck with controlling image size - It turns out the API allows 
 DrawOptions as the second argument of Execute, but no other allowances are 
made. So my method is not correct as shown in Pastebin.
 
Either way no permutations of how and when to call .SetRestriction 
and CustomSearchControl.draw have resulted in any image size controls.
 
I get the impression that an ImageSearch object is to be treated 
differently and executed differently. I could be wrong on that point but 
that's how it seems to me :(
 
CustomSearchControl.execute can also haev three paramaters - 1) the query 
2) page number, 3) additional control
 
>From the API it states for 3: "Specifies additional arguments to append to 
the URL. It is a one-time modification used only in this request."
 
I have attempted to use Query arguments (such as imgsz=xxlarge or 
&imgsz=xxlarge) - I assume this may be what they mean, but it had no effect 
:)
 
I am wondering if the Image Size options to not work in a CSE.
 
 

-- 
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
https://groups.google.com/d/msg/google-ajax-search-api/-/Q8T3Qu34YJYJ
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

Reply via email to