Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
fotofeeling
Topic Author
Posts: 10
Joined: 29 Jan 2015, 12:30

Display title and descripition from Exif in travel report pictures

03 Jan 2025, 11:33

Hi Karl,
I've been using your gallery for many years and I'm still happy.

I have many travel reports on my site and add pictures using the following function from X3 between the content with your help in the past.

<div data-popup-container>
<ul class='small-block-grid-2 large-block-grid-4'>
<li><a href=“{{path}}01_01.jpg” rel=“01” data-popup-title=“my title”><img src=“{{path}}01_01.jpg” alt=“my title” /></a></li>
<li><a href=“{{path}}01_02.jpg” rel=“01” data-popup-title=“my title”><img src=“{{path}}01_02.jpg” alt=“my title” /></a></li>
<li><a href=“{{path}}01_03.jpg” rel=“01” data-popup-title=“my title”><img src=“{{path}}01_03.jpg” alt=“my title” /></a></li>
<li><a href=“{{path}}01_04.jpg” rel=“01” data-popup-title=“my title”><img src=“{{path}}01_04.jpg” alt="my title” /></a></li>
<li><a href=“{{path}}01_05.jpg” rel=“01” data-popup-title=“my title”><img src=“{{path}}01_05.jpg” alt=“my title” /></a></li>
<li><a href=“{{path}}01_06.jpg” rel=“01” data-popup-title=“my title”><img src=“{{path}}01_06.jpg” alt=“my title” /></a></li>
<li><a href=“{{path}}01_07.jpg” rel=“01” data-popup-title=“my title”><img src=“{{path}}01_07.jpg” alt=“my title” /></a></li>
<li><a href=“{{path}}01_08.jpg” rel=“01” data-popup-title=“my title”><img src=“{{path}}01_08.jpg” alt=“my title” /></a></li>
</ul>
</div>

For example: Australien 2020
I added all the data-popup-title and alt manual.
The pictures have title and description in the metadata. Is it possible now to display tile and description in the pop-up automatically, when I click on the thumb in the content?

I asked you some years ago, maybe you have now a solution?
Re: New Release X3.24.0

Thanks

Christian
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Display title and descripition from Exif in travel report pictures

03 Jan 2025, 21:38

Hi Christian. Unfortunately, when you add images manually into content, they just add a link to the image path and can't extract further information. Sorry, your only option is to use data-popup-title="<strong>Hello</strong><br>Caption here".
 
User avatar
fotofeeling
Topic Author
Posts: 10
Joined: 29 Jan 2015, 12:30

Re: Display title and descripition from Exif in travel report pictures

04 Jan 2025, 11:21

Hello Karl,
thanks for your feedback.
Then I'll do it again as usual

Cheers
Christian