#1 2023-12-26 17:10:08

ketchemr
Member
2020-08-07
22

Image Title in Information Section of Picture Display

Hello/Hi/Greetings,

In Bootstrap Darkroom the image title, entered during the photo upload, is displayed in the breadcrumb, but is cut off. Is there a way to also show it in the Information area of the picture display page?

https://ketchem.net/PiwigoForumImages/TitleLocations.png

Thank you for the help.

Environment
Piwigo 14.0.0 Check for upgrade
Installed on 21 December 2019, 4 years 4 days ago
Operating system: Linux
PHP: 8.0.30 (Show info) [2023-12-26 07:56:22]
MySQL: 8.0.28-0ubuntu0.20.04.3 [2023-12-26 07:56:22]
Graphics Library: ImageMagick 6.9.7-4
Cache size 1103.04 Mo   calculated 9 months ago Refresh
Activated plugin list9
Additional Pages
GThumb+
LocalFiles Editor
Manage Properties Photos
OpenStreetMap
Permalink Generator
Personal Plugin
Photo Update
Virtualize

Piwigo URL: http://www.rrkphoto.com

Offline

 

#2 2023-12-26 19:11:38

Schneider-Fotografie
Member
Berlin
2023-04-16
99

Re: Image Title in Information Section of Picture Display

Hello ketchemr

That's not the title of the picture. This is the Photo ID, you can also use it to search for your picture.
I added the title of the image above the image. Easily change title size. Change to file  picture_content.tpl for me it is line 23.

Code:

 <h3>{$current.TITLE}</h3>

-Schneider-Fotografie- Galerie

Last edited by Schneider-Fotografie (2023-12-26 19:25:08)


-Schneider-Photography- Gallery
----------------------------------
BYB | Block You Bots
„Stay human. I block the rest.“

Offline

 

#3 2023-12-27 01:32:40

ketchemr
Member
2020-08-07
22

Re: Image Title in Information Section of Picture Display

Thank you, Schneider-Fotografie. I suppose then that I mean the Photo ID. Is there a way to modify the theme to show the Photo ID above Description through the Piwigo interface without editing the theme code directly to avoid the repeated trouble during updates?

Offline

 

#4 2023-12-27 07:46:19

Katryne
Member
2016-12-03
480

Re: Image Title in Information Section of Picture Display

Hello,
If you installed the "Manage properties photos", you can change the order of properties display on the photopage.


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

Offline

 

#5 2023-12-27 12:49:40

noramila
Member
India
2023-08-29
10

Re: Image Title in Information Section of Picture Display

Customize the template or code to include the image title from the photo upload in a designated section of the display layout.

Offline

 

#6 2023-12-27 21:30:57

ketchemr
Member
2020-08-07
22

Re: Image Title in Information Section of Picture Display

Katryne wrote:

Hello,
If you installed the "Manage properties photos", you can change the order of properties display on the photopage.

Thank you, Katryne. I have that plugin installed and use it for my assigned photo IDs. However, what I need is to show the already existing "Photo ID" (the Title entered during image upload) to display rather than re-entering it for each photo. Any idea how to do that?

Offline

 

#7 2023-12-27 21:58:58

Katryne
Member
2016-12-03
480

Re: Image Title in Information Section of Picture Display

Oh, I understand better : I tried it once with Manage properties photo and never succeded. Instead, with a lot of help, a lot of testing  and long researches, I managed to  suppress the title in the breadcrumb and add it on top of the photo. Look here : such a long title could never have been read in the breadcrumb : https://album.chauvigne.info/picture?/P … /114-paris


https://album.chauvigne.info/ v.15.5  PHP: 8.2.26
https://balades.comoni.org/  v.15.5 PHP: 8.2.26
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 2023-12-29 16:54:18

ketchemr
Member
2020-08-07
22

Re: Image Title in Information Section of Picture Display

Katryne wrote:

Oh, I understand better : I tried it once with Manage properties photo and never succeded. Instead, with a lot of help, a lot of testing  and long researches, I managed to  suppress the title in the breadcrumb and add it on top of the photo. Look here : such a long title could never have been read in the breadcrumb : https://album.chauvigne.info/picture?/P … /114-paris

That is just the type of change I need. Did you have to modify base code or could you do it through the interface?

Offline

 

#9 2023-12-29 19:30:38

Katryne
Member
2016-12-03
480

Re: Image Title in Information Section of Picture Display

Be patient, I have to reassemble my notes, as it was very complicated for me. Everything can be done through the administration, but it requires the installation of the two plugins LocalFilesEditor and Plugin personnel, as well as the activation in the sidebar of the link to Template extensions. I'll get back to you when I've clarified everything in writing.


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

Offline

 

#10 2025-04-25 22:23:23

ketchemr
Member
2020-08-07
22

Re: Image Title in Information Section of Picture Display

I think my picture description was misunderstood. I was not pointing to the "Photo ID" but rather to the Information section. I am trying to get the Title "Steamboat Rock, Clouds on ..." to display in the Information section without editing the theme code. Is this possible?

Offline

 

Board footer

Powered by FluxBB

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