Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
Is it possible to add a filename and a caption to an OKAPI large image presentation within an OKAPI album?
Offline
Yes. I show the principles over on my blog at https://lab.danielleu.com/blog/customiz … page-view/
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
Merci Daniel
Offline
All thanks to the power of Backlight 2 and their enhanced API!
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
Pierre, I think you'll need to upgrade your Okapi albums to Pangolin before using Daniel's code.
But if you merely want the filename and caption to appear, just add those tokens to the Photos Caption metadata token field in the album template (under Image Settings) then republish.
{Filename} | {Caption}
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Pierre, I think you'll need to upgrade your Okapi albums to Pangolin before using Daniel's code.
But if you merely want the filename and caption to appear, just add those tokens to the Photos Caption metadata token field in the album template (under Image Settings) then republish.
{Filename} | {Caption}
It should work with Okapi on BL2 too. But your approach is much easier if Pierre just wants to add the text without major markup.
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
For some reason I thought there was a separate phplugins file for Okapi.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Pages: 1