Announcement

  •  » Extensions
  •  » Manage Properties Photos -> Add fields to search

#1 2017-10-17 14:26:07

Sili
Member
2017-10-17
1

Manage Properties Photos -> Add fields to search

Hello I have the plugin "Manage Properties Photos" installed and additional fields created.

But how do I integrate these fields into the search?

someone an idea? I have found in the forum unfortunately nothing


Sili

Offline

 

#2 2023-03-24 13:44:27

willem
Member
The Netherlands
2022-04-25
14

Re: Manage Properties Photos -> Add fields to search

Bumping an old topic. We need something like this. Did anyone ever find a solution?

Background: We're trying to use Piwigo to make a large collection of foto's from historic ships searchable by keywords. Most of these ships have a 5-digit registration number. We could use these as tags, but a number like 20230 could also be part of a date or a pictures filename.

Offline

 

#3 2023-03-24 17:21:54

BigIsland270972
Member
Norway
2022-03-15
374

Re: Manage Properties Photos -> Add fields to search

Hello. There should have been made a plugin that extends the image datafields in database and to be searchable from search. I see that a milestone 14 version of piwigo has some rework planned on the search function.
I welcome this!


Piwigo 14.0 | https://fotoarkiv.no | https://foto.arki.vet | http://Bergen.gallery  | http://Ålesund.gallery | http://geiranger.gallery | http://fjord.photos | http://foto.oslo.no
Apache | PHP 8.1 | MariaDB

Offline

 

#4 2023-07-06 14:11:58

BobbyV
Member
2007-04-22
35

Re: Manage Properties Photos -> Add fields to search

This is precisely what I am trying to do. I installed the custom fields plugin and managed to create some named fields but I can't see how to add them to photos or have them show up.
Has anyone done this and is willing to post a link or screen grab so I can see where I am supposed to be looking?
I am seeing these errors, not sure how to fix them because I'm new to linux
/var/www/photos/piwigo/_data/templates_c/p6jhns^db0e2c8d687818179cac362afeae772b0dcc7135_0.file.admin.tpl.php on line 253

Warning: Attempt to read property "value" on null in /var/www/photos/piwigo/_data/templates_c/p6jhns^db0e2c8d687818179cac362afeae772b0dcc7135_0.file.admin.tpl.php on line 253

Warning: Trying to access array offset on value of type null in /var/www/photos/piwigo/_data/templates_c/p6jhns^db0e2c8d687818179cac362afeae772b0dcc7135_0.file.admin.tpl.php on line 253

Offline

 

#5 2023-07-06 15:59:42

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Manage Properties Photos -> Add fields to search

@BobbyV

When you edit photo, you must have a new tab with properties

php release ?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#6 2023-07-07 01:20:25

BobbyV
Member
2007-04-22
35

Re: Manage Properties Photos -> Add fields to search

When I edit a photo there is nowhere to put data in the custom fields, they don't show up, only keywords and description.

Last edited by BobbyV (2023-07-08 16:48:58)

Offline

 

#7 2023-07-07 06:31:34

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Manage Properties Photos -> Add fields to search

Hi :-)

BobbyV wrote:

When I edit a photo there is nowhere to put data in the custom fields, they don't show up, only keywords and description.
I do see an error "Warning: Trying to access array offset on value of type null in /var/www/photos/piwigo/plugins/user_custom_fields/initprofile.php on line 44"

[extension by ddtddt] Manage Properties Photos or [extension by ddtddt] User Custom Fields ?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#8 2023-07-07 08:35:34

BobbyV
Member
2007-04-22
35

Re: Manage Properties Photos -> Add fields to search

[extension by ddtddt] User Custom Fields

Thank you ddtddt, please see the screen captures in this album, I hope they help.

https://photos.g4xca.uk/index.php?/category/ddtddt

I have enabled comments if you want to add one

Last edited by BobbyV (2023-07-07 10:59:15)

Offline

 

#9 2023-07-07 12:39:25

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Manage Properties Photos -> Add fields to search

@

go to http://piwigo.org/svn/extensions/user_custom_fields/

download file and remplace by FTP


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#10 2023-07-08 16:56:03

BobbyV
Member
2007-04-22
35

Re: Manage Properties Photos -> Add fields to search

Thank you ddtddt, user_custom_fields now works
BUT I made a mistake, what I want are photo_custom_fields not user_custom_fields, so I can add three searchable custom fields to car photographs (Manufacturer, Model and numberplate).
I see there is not a plugin for this :-(
It would be very useful and popular so I will post in the "Requests" forum.

Offline

 

#11 2023-07-08 17:05:54

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Manage Properties Photos -> Add fields to search

BobbyV wrote:

Thank you ddtddt, user_custom_fields now works
BUT I made a mistake, what I want are photo_custom_fields not user_custom_fields, so I can add three searchable custom fields to car photographs (Manufacturer, Model and numberplate).
I see there is not a plugin for this :-(
It would be very useful and popular so I will post in the "Requests" forum.

Hi :-)

you can test [extension by ddtddt] Manage Properties Photos


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#12 2023-07-08 19:51:07

BobbyV
Member
2007-04-22
35

Re: Manage Properties Photos -> Add fields to search

Yes, I have tried "Extension" but couldn't get it to work. :-(
My errors are

Properties additionals
Warning: Undefined array key "info_photosI" in /var/www/piwigo/_data/templates_c/p6jhns^0ec354fa4b10d6858c25f2da811e19410f348e65_0.file.admin.tpl.php on line 534
Warning: Attempt to read property "value" on null in /var/www/piwigo/_data/templates_c/p6jhns^0ec354fa4b10d6858c25f2da811e19410f348e65_0.file.admin.tpl.php on line 534

Offline

 

#13 2023-07-08 19:56:20

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Manage Properties Photos -> Add fields to search

Hi :-)

BobbyV wrote:

Yes, I have tried "Extension" but couldn't get it to work. :-(
My errors are

Properties additionals
Warning: Undefined array key "info_photosI" in /var/www/piwigo/_data/templates_c/p6jhns^0ec354fa4b10d6858c25f2da811e19410f348e65_0.file.admin.tpl.php on line 534
Warning: Attempt to read property "value" on null in /var/www/piwigo/_data/templates_c/p6jhns^0ec354fa4b10d6858c25f2da811e19410f348e65_0.file.admin.tpl.php on line 534

where ?

php release ?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#14 2023-07-09 12:41:18

BobbyV
Member
2007-04-22
35

Re: Manage Properties Photos -> Add fields to search

php release ?:
Environment
Piwigo 13.8.0 Check for upgrade
Installed on 8 July 2023, 1 day ago
Operating system: Linux
PHP: 8.1.2-1ubuntu2.13 (Show info) [2023-07-09 10:58:53]
MySQL: 8.0.33-0ubuntu0.22.04.2 [2023-07-09 10:58:53]
Graphics Library: GD 2.3.0
Cache size 5.8 Mo   calculated 23 hours ago Refresh
Activated plugin list3
Admin Tools
LocalFiles Editor
Manage Properties Photos

where ?:
Go to "Edit Photo" in the "Properties Additionals" tab
Please see this screengrab:
https://photos.g4xca.uk/picture.php?/16/category/1

Offline

 

#15 2023-07-09 14:18:20

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Manage Properties Photos -> Add fields to search

Hi :-)

no acces screenshot :-(

Have you create personal properties in admin plugin ?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 
  •  » Extensions
  •  » Manage Properties Photos -> Add fields to search

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact