Search
Search looks through every photo and album you are allowed to see and returns both in one page, counted separately. It accepts plain words as well as a compact query syntax for narrowing results by tag, date, camera, rating, aspect ratio, or colour.
Running a search
Section titled “Running a search”- Press
/from the gallery, or use the search bar in the header. - v8 Press
mod+kanywhere to open the search palette. It mixes live search results with your albums, the pages you can navigate to, the admin tiles you have access to, and quick actions: the contextual album actions (edit, share, move, watermark, apply renamer, scan for faces, add tracks, upload), switching the language, and toggling dark mode. - Searching from inside an album scopes the query to that album. A Search all albums instead link clears the scope.
- A query only fires once it reaches
search_minimum_length_requiredcharacters (4 by default). - Results are paginated at
search_pagination_limitentries, and the photo grid uses the layout set bysearch_photos_layout. They can be re-sorted by title, date added, or date taken, ascending or descending.
Plain words
Section titled “Plain words”A word without a modifier matches photos whose title, description, location, camera model, or tags contain it, and albums whose title, description, or tags contain it.
Several words are combined with AND: each term must match. Use double quotes to keep a phrase together, and a trailing * to match a prefix instead of a substring.
sunset beach both terms must match"golden gate" the phrase, as one termberlin* starts with "berlin"Query syntax
Section titled “Query syntax”A token is written modifier:value. Unknown modifiers are treated as plain text, so a stray colon never breaks a search.
| Modifier | Matches | Example |
|---|---|---|
title: | Photo or album title | title:portrait |
description: | Photo or album description | description:"family trip" |
location: | Decoded location of the photo | location:paris |
tag: | A tag on the photo or album | tag:holiday |
date: | Capture date for photos, creation date for albums | date:2024-05-01, date:>2024-01-01 |
type: | MIME type of the file | type:jpeg, type:video |
ratio: | Aspect ratio of the original | ratio:landscape, ratio:>1.5 |
color: / colour: | Dominant colour of the photo | color:red, colour:#3366ff |
rating: | Rating, average or your own | rating:avg:>=4, rating:own:=5 |
make: | Camera manufacturer | make:canon |
model: | Camera model | model:"EOS R6" |
lens: | Lens | lens:50mm |
aperture:, shutter:, focal:, iso: | The matching EXIF field | iso:3200 |
Notes on the trickier ones:
- Dates accept an exact day (
date:2024-05-01) or a comparison with>,>=,<,<=,=. Severaldate:tokens are combined with AND, which is how you express a range:date:>=2024-06-01 date:<=2024-06-30. - Ratios accept the named buckets
landscape,portrait, andsquare, or a numeric comparison such asratio:<=0.75. Square means a ratio between 0.95 and 1.05. - Colours accept the 16 CSS colour names (plus
grey) or a#rrggbbvalue, and match against the palette extracted from each photo. A photo matches when one of its five palette colours is withinsearch_colour_distanceof the target, measured as a Manhattan distance in RGB. Photos imported before palettes were computed do not match until their palette is generated. - Ratings require a comparison operator.
rating:avg:uses the average of everyone’s ratings,rating:own:uses yours and needs you to be logged in. Plainrating:>=4is treated asavg. - Modifiers that only make sense for photos (everything except
title:,description:,date:, andtag:) simply exclude albums from the results rather than filtering them.
Advanced search panel
Section titled “Advanced search panel”The advanced panel builds the same query from form fields, so you never have to memorise the syntax. It exposes title, description, location, tags, a date range, media type (image, video, RAW, live), orientation, minimum average rating, minimum personal rating, the EXIF fields (make, model, lens, aperture, shutter, focal length, ISO), and the sort order.
Visibility
Section titled “Visibility”Search only returns what the requester may see. Anonymous visitors can use it only when search_public is enabled, and then only on publicly accessible content. Photos in sensitive albums are excluded when hide_nsfw_in_search is on; see Sensitive Albums.
The same searchability rules feed the RSS feed and Frame, which is why a photo hidden from search is also absent from those.
Settings
Section titled “Settings”| Setting | Description | Default |
|---|---|---|
search_public | Allow anonymous visitors to use the search bar. | off |
search_minimum_length_required | Characters required before a query is sent. | 4 |
search_pagination_limit | Results per page. | 300 |
search_photos_layout | Photo layout on the results page: square, justified, masonry, grid. | square |
search_colour_distance | Maximum RGB distance for color: matching (expert setting). | 30 |
hide_nsfw_in_search, under Sensitive Albums, additionally excludes sensitive photos from the results.
