Skip to Questions

Guide FAQ - Your LibGuides v1 Questions. Answered!


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  |  3275 Views

Was this helpful? 1   0


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="">
<input type="text" name="q" />
<input type="submit" value="Search Google Images" />

  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="" 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! " />
    by Laura Harris on Jan 03, 2012.
  6. Laura-
    Thanks for that answer, it worked like a charm. I got it to work w/ as well with some tweaking. I'm trying to make it work with 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:

    Hope this helps! :)
    by Laura Harris on Jan 09, 2012.
  8. Another search question Laura. Is there a way to create search for 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 to the beginning of any URLs found in the code. If that doesn't work, you can email 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 is shutting down by, if not before, March 31, 2018.

LibGuides v1 servers are also shutting down at that time.

See LibGuides v2 documentation instead.


Follow LibGuidesFAQ on Twitter Follow us on Twitter!