Add an image search form to any Backlight page

backlight-search-formIt’s pretty easy to add an image search form to any Backlight page or even a WordPress widget, allowing your viewers to access an image search feature form from any page you choose rather than needing to click on the “Search” link in the navigation menu.

Just add the html below to the page copy of any album or album set template, or to any page you create in Backlight. You can also add it selectively to albums or album sets by including it in the Page Copy (md) field of any album or album set in Publisher.

Plus, you can add the image search form to a text widget in WordPress so that your viewers can access an image search from from your blog.

<h2>Search Galleries</h2>
<div id="search">
<form action="/backlight/search" method="GET">
<input type="text" id="q" name="q" placeholder="Photo Search" value=""/> <button type="submit" style="margin-top: 6px;"><i class="fa fa-search" ></i> Search</button>
</div> <!-- #search -->

This line:
<form action="/backlight/search" method="GET">

assumes that your Backlight installation is in the root of your site. If it is not, then provide the full url to the search page:


If you’re still working with CE4 and want to add a search form to pages, see this post.

Leave a Reply

Your email address will not be published. Required fields are marked *

About this site

This site is: a repository of time-savers and best practices from a user's perspective, picked up from several years of using TTG plugins.
This site is not: a support site.
Read more here.

Tip Jar

If this site has saved you some time, kept your hair attached, or otherwise prevented you from tossing the mouse through the monitor, feel free to donate.


Highly recommended. This is my go-to Lightroom book. Click on the book image. (affiliate link)

Affiliate link!

Current TTG versions

Backlight Versions

Backlight 1.2.3
Pages module 1.2.3
Cart Add-on 4.1.5
Client Response Add-on 7.1.2
Theater Add-on 1.2.5
WordPress Add-on 1.2.5
Publisher 3.2.3

CE4 Versions

note: CE4 is no longer being developed or sold. See this post.

TTG-BE: 2.0.5a
Autoindex: 7.0.8
Cart: 3.1.4a
CRG: 6.1.3a
Gallery: 6.1.10
Pages: 7.0.15
Publisher: 2.3.3
Stage: 6.1.6
Theme for WordPress: 3.1.2

Subscribe to new posts