1 March 2014 at 12:50 #2958
Gerlando Lo SavioParticipant
I tried adding both title, alt text, descripion text and caption, but still can’t see any text on Swipebox for my photos. After I tried with my Swipebox, I’ve tried with different lightbox scripts.
Only using PrettyPhoto I see some text on the image, but it’s only the alternative text and not the title neither the caption.
I’m using Responsive Lightbox plugin running also Carousel from Jetpack plugin, and installed Responsive Lightbox to get a lightbox effect that works for single images, since Carousel works only for galleries.
How do I need to configure this plugin to display the title or the caption together with the image?
Here’s a link to a page in my test blog, with an image for you to test:
I’m running WP 3.8.1 with a slightly customized Twenty Fourteen theme. Not sure if it may be related, but on this blog I’m running also the Polylang plugin.
This question was already posted here in WP Support forums:
http://wordpress.org/support/topic/cant-see-any-caption-or-title?replies=3#post-52321941 March 2014 at 15:55 #2959
I looked at your site and the problem is not it the plugin but in your theme. Basically, image links in your theme do not contain title attributes.
For all the scripts lightbox title is taken from the link title, not from image title, alt or anything else. It’s a very flexible solution because lightbox can be used for more content types, not only images. More, you can easilly modify your theme to generate lightbox title form anything you need – post title, custom fields, etc.
So, returning to your question – you can add link title when you insert image link into post, or modify the theme to automatically use image title/alt/caption as link title.
Hope this helps.1 March 2014 at 16:20 #2960
Gerlando Lo SavioParticipant
Thanks, I saw that manually adding the title attribute to link code solves my problem.
So now I need to find a way to change my theme to do as you say. I suppose I should do it in my theme’s functions.php file. I’ll google for it.
Can you point me some more detail please? I’m quite new with wordpress, and still don’t know where to look to do some things.1 March 2014 at 16:31 #2961
Not functions.php but any place in your theme code where image links are created (like single.php) – however all this is theme specific.13 March 2014 at 16:20 #3137
Hi, I have the same problem but with galleries, my theme shows the caption of the image on the thumbnail view but when I click it to open the lightbox it just disappears. I don’t know where does the theme generates the title attribute, so, is there a way that I can use the “wp-caption-text” class (where WordPress renders the title) to show it on the lightbox as a caption?
I’m using the latest version of wordpress and the plugin, also setting it as Fancybox, and using the “Simon WP Framework” as a theme.
Thanks in advance14 March 2014 at 10:15 #3146
Pablo, please post a separate topic on that and provide a link to your site.26 March 2018 at 14:54 #24327
I have the same (or similar) problem… No image title, description, etc. in the lightbox.
I am using:
Plugins: Metaslider, Metaslider Lightbox, Responsive Lightbox
My site: http://www.oe3ide.com
Thanks for help!
Ernst1 August 2018 at 22:32 #27686
I cant get the title to show in the lightbox on a phone screen. It shows on a computer screen (when you click on the image) but doesn’t show on a phone.
I’m using responsive lightbox & gallery plug-in.3 January 2019 at 19:27 #30728
I am having this problem currently. I am unable to get caption or title to show in Lightbox unless I enable the title or caption on the gallery. If I deselect the captioning in the gallery, the text does not show in Lightbox individual image view. Please advise. I have looked extensively at all my settings and plugins to find any conflict…but I have been unable to get this to work.
- You must be logged in to reply to this topic.
No full screen
1 day, 8 hours ago
Post Views Counter & Redis
1 day, 11 hours ago
Export- / Import-Function
1 day, 13 hours ago
Issues with Mobile and TosRUs
1 day, 23 hours ago
How to exclude Woocommerce gallery but NOT wordpress galleries from Ligthbox
2 days, 4 hours ago
Lightbox not working on WooCommerce Product Pages
by Kristel Hayes
3 days, 2 hours ago
Database insert optimization
5 days, 4 hours ago
Can I build in a stop in a block with Responsive Lightbox & Gallery?
5 days, 5 hours ago
Alt Attribute is Missing for Gallery Images
5 days, 8 hours ago
CF7 broken for 2+ years
1 week ago