#1 2025-06-16 21:23:22

axell
Member
2024-09-21
24

How to edit the metadata output?

Hello
as default the metadata echoed in the frontend is:
-Autor / Author
-Erstellt am / generated at
-Veröffentlicht am / published at
-Schlagworte / tags
-Alben / album
-Besuche / Visits

How and where can i edit which data should be shown in the frontend and which not?

Kind regards
axel

Offline

 

#2 2025-06-17 15:29:10

windracer
Member
St. Pete, FL
2014-12-28
637

Re: How to edit the metadata output?

Look under Configuration > Options > Display > Photo Properties. You can turn and and off the items you want shown.

Offline

 

#3 2025-06-18 18:19:35

axell
Member
2024-09-21
24

Re: How to edit the metadata output?

Hi Windracer
thanks!!

Is there a way to change the order?

kind regards
axel

Offline

 

#4 2025-06-18 19:13:06

windracer
Member
St. Pete, FL
2014-12-28
637

Re: How to edit the metadata output?

Not sure. You might be able to override the template with an extension, it might also depend on what theme you're using.

Offline

 

#5 2025-06-18 19:53:26

Katryne
Member
Provence, France
2016-12-03
601

Re: How to edit the metadata output?

I think that with the plugin Manage Properties photos you can change the order of the properties. I am not sure for the metadata.


https://album.chauvigne.info/ v.16.4  PHP: 8.2.29
Système d'exploitation: Linux - Hébergeur 1&1-Ionos - MySQL: 5.7.42
Bibliothèque graphique: External ImageMagick 6.9.11-60

Offline

 

#6 2025-06-18 21:30:45

axell
Member
2024-09-21
24

Re: How to edit the metadata output?

I followed the advice of @katryne and installed the Plugin "Manage Properties Photos".
Without beeing asked it added fields - more or less even more useless than the ones i wanted to get rid of

So i  deactivated it.
The fields were still there

So i deleted it
The fields are still there

The question now is:
How to i get rid of the fields i never asked for?

kind regards
axel

Last edited by axell (2025-06-18 21:31:32)

Offline

 

#7 2025-06-18 22:30:49

Katryne
Member
Provence, France
2016-12-03
601

Re: How to edit the metadata output?

Look at the settings of the plugin. It manages not only the display order, but it can display or hide each data, and very precisely for each visitor category, from webmaster to guest.


https://album.chauvigne.info/ v.16.4  PHP: 8.2.29
Système d'exploitation: Linux - Hébergeur 1&1-Ionos - MySQL: 5.7.42
Bibliothèque graphique: External ImageMagick 6.9.11-60

Offline

 

#8 2025-06-18 22:51:01

axell
Member
2024-09-21
24

Re: How to edit the metadata output?

It ADDED fields WITHOUT asking just by installing it.
How do i get rid of them?

A small research indicates, that all the fields have been written into the database and that i have to alter the database to remove them from the frontend
That will take some time
If this turns out to be true than this concept / plugin is just poor.

Besides that:
The fields i have now in the frontend ("useful" stuff like ExifVersion or ExposureBiasValue) have not been in the list of editable fields

axel

Offline

 

#9 2025-06-19 07:18:40

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

Re: How to edit the metadata output?

Hi :-)

axell wrote:

If this turns out to be true than this concept / plugin is just poor.

Thanks

So I'm not answering your question, there's no point in deleting it, none of the plugin's information will exist.


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 2025-06-19 13:11:17

axell
Member
2024-09-21
24

Re: How to edit the metadata output?

"none of the plugin's information will exist."

Really?
Why is this still there then?

ExifVersion
0231
ExposureBiasValue
0/1
ExposureMode
1
ExposureProgram
1
Belichtungszeit
1/160
FileSize
2199373
FileType
2
Flash
0
FNumber
28/10
FocalLength
168/1
ISO-Empfindlichkeit
1000
Make
Canon
MeteringMode
2
Modell
Canon EOS R5
Software
Adobe Photoshop Lightroom 5.3 (Windows)
WhiteBalance
1

Offline

 

#11 2025-06-19 13:34:36

axell
Member
2024-09-21
24

Re: How to edit the metadata output?

If i disable "Author" i get:
Warning: Undefined array key "add_info_photos" in ..../_data/templates_c/dnrhay_e9yhah^47c215a510052d55a4e0e1e837a116a139730672_0.file.picture.tpl.php on line 279

Warning: Attempt to read property "value" on null in .../_data/templates_c/dnrhay_e9yhah^47c215a510052d55a4e0e1e837a116a139730672_0.file.picture.tpl.php on line 279

And all the additional fields i did not ask for are still there.


There are no corresponding fields to disable in the backend of your plugin to get the fields remove which have been added just by installing it.

Since it is your personal plugin you should be interested in improving your work, shouldnt you?

Offline

 

#12 2025-06-20 06:59:03

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

Re: How to edit the metadata output?

Hi :-)

axell wrote:

Since it is your personal plugin you should be interested in improving your work, shouldnt you?

1/ With your introduction not to

2/ You're talking about things that have nothing to do with my plugin. I could spend a lot of volunteer time explaining it to you, but the way you've started doesn't suit me, so I'll pass.


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

 

#13 2025-06-20 16:33:30

windracer
Member
St. Pete, FL
2014-12-28
637

Re: How to edit the metadata output?

Have you checked your config (via Local Files Editor plugin)? That's where you can control what EXIF/IPTC fields appear:

https://doc.piwigo.org/import-and-manag … a19ee49808

Offline

 

Board footer

Powered by FluxBB