Announcement

#1 2014-08-05 07:03:49

MtnBiker
Member
2014-07-10
35

Displaying Caption/Description

Hi

Slowly working on understanding Piwigo. I've searched the forum and it appears that one cannot display the Caption by default. I hope I am wrong. I think that many would like it to show.

Example in Menalto: http://knobby.ws/gallery3/Family-and-Fr … rk-North-7

Same page in Piwigo. I've turned on the metadata for caption, so it shows, but I'd like it with the photo and don't want the user to have to turn on the info.
http://knobby.ws/gallery/picture.php?/4841/category/6

Thanks

Piwigo version: 2.6.3
Piwigo URL: http://knobby.ws/gallery/

Last edited by MtnBiker (2014-08-05 07:09:18)

Offline

 

#2 2014-08-05 12:03:25

flop25
Piwigo Team
2006-07-06
7037

Re: Displaying Caption/Description


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2014-08-05 13:17:59

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Displaying Caption/Description

Isn't it possible to tell Piwigo to populate the photo description with the file EXIF ?
(I never use EXIF so I don't know the parameters)

Offline

 

#4 2014-08-05 16:42:00

MtnBiker
Member
2014-07-10
35

Re: Displaying Caption/Description

Thank you flop25. A step in the right direction.

But I still want to display the caption centered below the photo.

Offline

 

#5 2014-08-05 21:12:21

flop25
Piwigo Team
2006-07-06
7037

Re: Displaying Caption/Description

about customization edit the template picture.tpl using LocalFiles Editor


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#6 2014-08-06 06:36:29

MtnBiker
Member
2014-07-10
35

Re: Displaying Caption/Description

flop25 wrote:

about customization edit the template picture.tpl using LocalFiles Editor

Edit: deleted most of my comments as I found http://piwigo.org/doc/doku.php?id=dev:e … e_creation

Not sure how I found it as I haven't figured out how the docs work. Seems to be hit or miss. Haven't found any organized docs. The menu bar item "Docs" on the main piwigo.org site links to a page without the word template.

Thank you for the pointer, maybe I can figure it out.

Last edited by MtnBiker (2014-08-06 07:19:31)

Offline

 

#7 2014-08-06 18:10:42

MtnBiker
Member
2014-07-10
35

Re: Displaying Caption/Description

Replying to self.

Looking at what I need to understand to go forward.

Smarty

And figuring out what all the variables are named and refer to. Is there a list of these variables. Or am I on the wrong track?

For example:
$ELEMENT_CONTENT might be the image, but then not sure.

What would caption or description be?

I'm not too familiar with PHP either, so it's a steep hill to just trying to add captions to the photos when they are on a page by themselves.

But I would appreciate any help.

Offline

 

#8 2014-08-06 18:50:06

flop25
Piwigo Team
2006-07-06
7037

Re: Displaying Caption/Description

I still don't get what's your issue with the "caption": the description of a picture is populated with the exif, and you can add it manually


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

Board footer

Powered by FluxBB

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