Skip to Questions

Guide FAQ - Your LibGuides v1 Questions. Answered!

Q

Could you provide a Google Images search box, like the Google Scholar one?

One of the librarians who I work with has asked me to investigate adding a Google Images search box to a LibGuide. I would like a search box that behaves like the Google Scholar one that is already in LibGuides.
Last Updated: Aug 28, 2011  |  2879 Views

Was this helpful? 1   0
A

Answer

No problem! While the equivalent of the "Google Scholar" search box type doesn't exist yet, you can achieve a similar result by embedding the following code in a Rich Text box. This bit of code will add a Google Images search box to your LibGuides site:

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

  1. Plain Text Editor tab.Create a new Rich Text box on your guide.
  2. Click add text.
  3. Click the Plain Text Editor tab at the top of the box.
  4. Copy & paste the code above into the Plain Text Editor and click Save and Close

The box should now have a Google search box that looks like this:

Answered by Sarah PawlekBookmark and Share

Other Answers / Comments (11)

  1. I just used this information to add an Uncle Sam search box (Google government search) to a guide. Can you ask the development team to add this box type as well as the image search?
    by Shellie on Apr 22, 2010.
  2. Hi Shellie - thanks for the feedback! I'll pass that along to the tech team for discussion. :)
    by Anna on Apr 22, 2010.
  3. I adapted this code slightly to use it with Google Blog Search. If your development team would want to add a box for that to their "to-do" list, it would make me happy, but thank you so much for giving us this workaround!
    by Ruth on Dec 12, 2011.
  4. Can you insert a Wikipedia search in a Libguide? I tried to adapt this code and got a DNS message.
    by Brendan Ryan on Jan 03, 2012.
  5. Hi, Brendan!

    You should be able to add a Wikipedia search to your guide; simply follow the steps in the FAQ and paste this code instead:

    <form action="http://www.wikipedia.org/search-redirect.php" method="get">
    Search Wikipedia:
    <input type="hidden" name="language" value="en" />
    <input type="text" name="search" size="20" />
    <input type="submit" name="go" value=" Go! " />
    </form>
    by Laura Harris on Jan 03, 2012.
  6. Laura-
    Thanks for that answer, it worked like a charm. I got it to work w/ dogpile.com as well with some tweaking. I'm trying to make it work with wolframalpha.com but have been stuck. Any help you can give would be greatly appreciated.
    by Brendan on Jan 09, 2012.
  7. Hi, Brendan!

    Wolfram Alpha actually has some pretty neat widgets that you can use - check out:

    http://www.wolframalpha.com/addtoyoursite.html

    Hope this helps! :)
    by Laura Harris on Jan 09, 2012.
  8. Another search question Laura. Is there a way to create search for search.usa.gov. I've tried variations on the code you've given me, but can't make it work.
    by Brendan on Jan 11, 2012.
  9. Hi Brendan - It looks like their code uses relative URLs vs. absolute URLs. You may just need to look at the code and add http://search.usa.gov to the beginning of any URLs found in the code. If that doesn't work, you can email training@springshare.com with the URL of the page where you're adding it, and we can help you out. :)
    by Anna Burke on Jan 11, 2012.
  10. Is there an easy way to get the search results page to open in a new window, instead of taking the user away from the LibGuide?
    by Gretchen on Jan 24, 2014.
  11. Hi Gretchen. There is indeed an easy way. Just change the first line of the code to the following:



    That will do it.

    -- Ken
    by Ken Liss on Jan 24, 2014.

Need Help?

This site contains FAQs for LibGuides v1 only.

LibGuides v2 Documentation
(You must have a LibApps account to access that site.)

Or click HELP in the orange command bar of your v2 system.

Support:

Follow LibGuidesFAQ on Twitter Follow us on Twitter!
 Your questions, answered!

Browse by Popular Topics

Accounts  –  Admin Area  –  API / Widgets  –  Boxes  –  Catalog / Database Integration  –  CSS  –  Customization  –  E-Reserves  –  Embedding Objects  –  General System Questions  –  Group Management  –  Guides  –  Holiday Closures  –  How To...  –  Images  –  LibGuides CMS  –  Links  –  Mobile  –  Pages / Tabs  –  Profiles  –  RSS  –  Search  –  Security  –  Statistics  –  Subject Categories  –  Survey/Form Tool  –  System Administrators  –  Tags  –  Webinar  
View All Topics

Related content from Springshare v1 Help