If you want to restrict to large images you can: var searcher = new google.search.ImageSearch(); searcher.setRestriction(google.search.ImageSearch.RESTRICT_IMAGESIZE, google.search.ImageSearch.IMAGESIZE_IMAGESIZE_LARGE);
but if you want to rescale it , the only way is to use CSS or JS On 5 Cze, 18:57, VitalBodies <[email protected]> wrote: > Thanks I got the search working by reading a different post that you > wrote. Thanks again. > I am currently working on a variation of the color filter > search.http://code.google.com/apis/ajax/playground/?exp=search#color_filter > > What I am struggling with a using the image scaler. > I would like the images to show larger on screen dynamically rather > than scaled with CSS. > Meaning the thumbnails are actually larger images not just stretched > images. > > On Jun 1, 4:46 am, Jeremy Geerdes <[email protected]> wrote: > > > First, the link you provided returns 404. So what I'm about to say is > > conjecture. > > > Try putting the .gsc-control { width: 670px; } rule AFTER you load the > > Search API. E.g., > > > <script type="text/javascript" src="http://www.google.com/jsapi"></script> > > <script type="text/javascript">google.load('search','1');</script> > > <style type="text/css"> > > .gsc-control{width:670px;} > > </style> > > > If that doesn't work, place the style element at the end of the page body. > > The key here is that you want that rule to be processed AFTER the > > default.css file is loaded and applied. Later CSS overrules earlier ones in > > the event that there are conflicting selectors. > > > Jeremy R. Geerdes > > Effective website design & development > > Des Moines, IA > > > For more information or a project quote:http://jgeerdes.home.mchsi.com > > [email protected] > > > If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan > > Church! > > > On May 31, 2010, at 2:51 PM, VitalBodies wrote: > > > > Is there a way to change width of the results of the search results? > > >http://www.vitalbodies.net/site/search-engine.html > > > > The CSS would be: (is that correct?) > > > .gsc-control { width: 670px; } > > > > I am attempting to create a tabbed search yet the default gsc-control > > > width is 300px. > > > I was using Firebug and changing the local CSS but the default.css of > > > the Google API is overriding the local CSS. > > > > My sense is, this is because the results are dynamic as the only div > > > is the container for the whole thing (search form/results/etc). > > > > -- > > > 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 > > > athttp://groups.google.com/group/google-ajax-search-api?hl=en. -- 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.
