View -> Info -> Information Displayed Formatting
Posted: Sun May 30, 2021 10:58 am
When I view my pictures I would like the IPTC Caption shown at the (almost) bottom of the screen.
I can nearly do this using:
View -> Info -> Information Displayed Formatting (infoTemplate)
If I use {IPTC:Caption} with position bottom-center, this works ok until there is a long line of text, then the wrapping is ugly (to the left) and not centered.
I tried to use HTML tags:
<p style="text-align: center">{IPTC:Caption}</p>
Unfortunately this does not work as expected on long text, it is centered, but text to the left and right are truncated off screen.
Any ideas how I can center text that is longer than one line so it is wrapped in the center?
Also ideally I would like to be able to display the text slightly off the bottom:
<p style="text-align: center; margin-bottom: 20px">{IPTC:Caption}</p>
But looks like margin-bottom is not processed.
I can nearly do this using:
View -> Info -> Information Displayed Formatting (infoTemplate)
If I use {IPTC:Caption} with position bottom-center, this works ok until there is a long line of text, then the wrapping is ugly (to the left) and not centered.
I tried to use HTML tags:
<p style="text-align: center">{IPTC:Caption}</p>
Unfortunately this does not work as expected on long text, it is centered, but text to the left and right are truncated off screen.
Any ideas how I can center text that is longer than one line so it is wrapped in the center?
Also ideally I would like to be able to display the text slightly off the bottom:
<p style="text-align: center; margin-bottom: 20px">{IPTC:Caption}</p>
But looks like margin-bottom is not processed.