how to add an “audio” link/icon that launches an audio player in a pop-up window

Phoca Gallery - image gallery extension
User avatar
stephaud
Phoca Member
Phoca Member
Posts: 10
Joined: 10 Feb 2026, 21:45

how to add an “audio” link/icon that launches an audio player in a pop-up window

Post by stephaud »

Hi everybody !

Instead of “external links” and its icon (in Image>External Link Options), I would like to put an “Audio” icon whose link would launch a local audio file in a pop-up window. Using a shortcode, for example, i don't know...
As you can see in the attached screenshot, I would like the audio icon to be next to the zoom/magnify icon.
Is there a way to do this?
Thanks for advice.

https://imgur.com/a/q6xvkLW