Add Image Caption Prefix to Photoswipe Detail View

Phoca Gallery - image gallery extension
fschreiner
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 02 Mar 2010, 18:35

Add Image Caption Prefix to Photoswipe Detail View

Post by fschreiner »

Hi, maybe you guys are able to help me to identify the correct file to adapt.

For 'Detail View' I'm using Photoswipe with Subtitle set to Image Caption Only. The filename is being displayed correctly, so far so good.

Lets assume the filename is 'TestImage.jpg'. I get 'TestImage' as a subtitle.

What I'd like to see is 'Image Title:TestImage'


Is it possible to prepend a fixed string, in this case 'Image Title: '? Which file would I need to change to make that work?


Thanks!


Environment:
Joomla 4.2.9
PhocaGallery 4.5.3
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48704
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Add Image Caption Prefix to Photoswipe Detail View

Post by Jan »

Hi, you can display there there description, so maybe you can set this all to description :idea:

Jan
If you find Phoca extensions useful, please support the project
fschreiner
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 02 Mar 2010, 18:35

Re: Add Image Caption Prefix to Photoswipe Detail View

Post by fschreiner »

Or would it be possible to adapt the filename in code before it gets handed over to the Photoswipe component?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48704
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Add Image Caption Prefix to Photoswipe Detail View

Post by Jan »

What do you mean with "adapt the filename"?

Jan
If you find Phoca extensions useful, please support the project
Post Reply