Hi,
Is it possible to show item title or ALT text on the bottom of image in gallery addon?
I have only for example 1/10 in the right bottom corner of image.
It would be nice to show real people watching gallery on my site image description not only for robots as ALT TEXT :)
Gallery addon - how to show image title?
Accepted answer
Marked as the solutionHi
Is this solved now? If yes, you can then close this post by accepting the answer.
6 more replies
Hi there!
Thanks for contacting us.
Are you talking about the gallery addon of the SP Page Builder? I am not sure which gallery it is and where the image title should be visible...
With the gallery addon the image title can not be shown on the image.
You may try the SP Easy Image Gallery to see if it serves your purpose!
https://www.joomshaper.com/joomla-extensions/sp-easyimagegallery
Would you please clatify with screenshots and site link?
Best Regards
Hi Tomasz,
right now it request addon code (site.php file) customization. Adding line to display text taken from Alt.
Here is unofficial code for site.php from gallery addon
in the new line 73 copy & paste:
$output .= '<div>' . $alt_text . '</div>';
OR
$output .= '<div class="sppb-text-center">' . $alt_text . '</div>';

and text from ALT will be displayed under the image.

Mehtaz Afsana Borsha - I'm talking about gallery addon in SP Page Builder not SP Easy Image Gallery.
Thanks Paul for tips, but in your solution ALT TEXT is shown in main gallery view. I need to show only ALT TEXT after click and enlarge image like in SP Easy Image Gallery.
Best solution will be when after hover on image is shown ALT TEXT, and after Click and enlarge TITLE on the lower part of image, not bottom image.
Yeah I got it. As per my knowledge there is no default option to do that in gallery addon. You can get this similairty on SP Easy Image Gallery.
In that case changes must be added here : \assets\js\jquery.magnific-popup.min.js
and I am afraid that I cannot help more.
Thanks for accepting the answer.