#1 2020-05-26 12:28:31

dummer-esel
Member
2017-01-25
73

Search/find only albums, not photos?

Hello/Hi/Greetings,

sorry if this question was answered before, I didn't find any matches.

I'd like my users to search my gallery, but the results should not be photos but only links to the albums/subalbums.
Is there any way to to this?

The reason is that my (>3000) photos are not tagged, but put in a hierarchy of categories (like year > country > place). So if they search for "place" I'd like them to find the album/category and not single photos.


Piwigo version: newest stable
PHP version: 7.2
MySQL version: MySQL
Piwigo URL: internal

Offline

 

#2 2020-05-26 20:31:03

executive
Member
2017-08-16
1236

Re: Search/find only albums, not photos?

Album names ARE searched, but I don't know of any way to exclude photo results.

However, if I drop down the album list in my menu, then I can use the browser find function.

Offline

 

#3 2020-05-29 10:11:38

dummer-esel
Member
2017-01-25
73

Re: Search/find only albums, not photos?

executive wrote:

Album names ARE searched, but I don't know of any way to exclude photo results.

Where can I find the SQL query where the results are generated?
Maybe it just needs a small tweak?

This would really improve usability for my users.

Last edited by dummer-esel (2020-05-29 14:05:44)

Offline

 

#4 2021-06-14 22:27:32

theonlyone
Member
2021-06-14
1

Re: Search/find only albums, not photos?

dummer-esel wrote:

Hello/Hi/Greetings,

sorry if this question was answered before, I didn't find any matches.

I'd like my users to search my gallery, but the results should not be photos but only links to the albums/subalbums.
Is there any way to to this?

The reason is that my (>3000) photos are not tagged, but put in a hierarchy of categories (like year > country > place). So if they search for "place" I'd like them to find the album/category and not single photos.


Piwigo version: newest stable
PHP version: 7.2
MySQL version: MySQL
Piwigo URL: internal

I've been looking for a similar feature or plugin. 10's of thousands of photos tagged, but organized in album hierarchy. If I search for a keyword like "travel", it will pull up thousands of travel photos, but I want a way to see the albums that contain photos with that tag.

I've been using the album drop-down in the menu mentioned above, but it would be much more convenient to browse the album cover for ease of identifying albums.

Offline

 

Board footer

Powered by FluxBB