Skip to content

Search: Add square:yes and landscape:yes filters #2169

Description

@PiotrKrzyzek

Photoprism has a wonderful set of search and filter options, though we're not able to filter photos (and others) well by the items orientation. Currently, the only orientation related filter option is 'portrait` which, if set, will give us all portrait oriented (where height is bigger than width) assets.

Though there is no landscape filter.

As referenced in my previous bug report / question, portrait is a BOOLEAN filter, meaning simply true or false where the default is false meaning: simply not set.

As false here means not set and not meaning "NOT", thus I propose we have either-or of the following two filter options added:

  • orientation
  • landscape

The landscape filter would do the exact same thing as portrait (a boolean filter) except for landscape oriented (width greater than height) photos (and videos and whatnot).

Whereas orientation could take different options such as: 'landscape', 'portrait' and could be expanded to include more advanced filters such as 'not set', 'circle', 'upside down' and so forth.

Metadata

Metadata

Assignees

Labels

ideaFeedback wanted / feature requestreleasedAvailable in a stable release

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Release 🌈

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions