Hello, can you Support with answering how to call this plugins LightBox on dynamically created image that renders as the following
<span id="featuredimage"><a href="https://www.example.com/files/example-image-2.webp" rel="lightbox"><img class="page-image ls-is-cached lazyloaded" src="https://www.example.com/files/example-image-2.webp" data-src="https://www.example.com/files/example-image-2.webp" width="100%" height="100%"></a></span>
-but the LightBox scripts doesn’t start when clicking it,
how to have it working?
NB. Other standard image tags are having normally working LightBoxes.
Thank you, regards
]]>With the release of WordPress 5.5, jQuery has been upgraded to 1.9. That version removed deprecated features that this plugin relies on. I was able to get my site working again by installing the “Enable jQuery Migrate Helper” plugin, however that’s a temporary fix that will no longer work when WordPress is upgraded to 5.6 in December.
Source of the error:
This plugin uses jquery.tooltip.js which depends on the deprecated jQuery.browser.
The fix:
Please upgrade to a newer version of jquery.tooltip.js which works with jQuery 3.5.1 (which is what will ship with WP 5.6).
Thank you.
]]>Hi,
I can not add new images to the gallery. All seems ok but the new image is not showing.
Can you please help?
Thanks.
Tammy
I cannot get the lightbox to work when I use the Gallery block in the Block editor. It is a pity because the Gallery Block works much better than the Gallery in the Classic editor. Any chance of an upgrade?
]]>Hello, browsing a gallery in home page (not in post page), it opens images from other galleries too, merging them. In this way it is very confused. Ppease, how can I separate each gallery?
]]>I am not sure when this started, but all of my images that in a gallery are showing small. I have the images set to Full in the gallery, but whatever changes I attempt to make to make the images appear full size they keep appearing small. It almost appears they are even smaller then the thumbnail represented in the article.
I am happy to try anything to get this corrected, cause it looks ridiculous when you are trying to show something to your audience and it’s almost easier to see the image in the thumbnail before they open the gallery.
Thank you in advance for your assistance!
]]>Why 1 column?
]]>Hello
I see this warning on my site:
Warning: A non-numeric value encountered in /web/htdocs/www.enzocolonna.com/home/wp-content/plugins/lightbox-gallery/lightbox-gallery.php on line 1139 (or 530)
please, how to fix it?
Regards
I recently changed my website from http to https
Lightbox Gallery stopped working because something complained that I was making requests from https to http
I have installed a find and replace plugin which replaces http: with https: and the plugin works again
Would it be possible to fix the plugin so that it can be called from https sites?
I’m getting a warning caused by line #570 in lightbox-gallery.php. It can be solved by replacing it with this:
$total = count($attachments)-(is_numeric($from)? $from:0);
Don’t know how to fix it myself… yet.
Cheers!
]]>I created my first Lightbox Gallery today. It looks great but the whole page aligns to the left when we embed it. Any ideas why?
]]>Hi, would you help me out?
In some times your plugin gives the following errors. Do you have any idea how can I fix them?
Uncaught TypeError: Cannot read property ‘msie’ of undefined
at jquery.tooltip.js:27
at jquery.tooltip.js:294
Uncaught TypeError: jQuery(…).tooltip is not a function
at HTMLDocument.<anonymous> (lightbox-gallery.js:20)
at j (jquery.js:3148)
at Object.fireWith [as resolveWith] (jquery.js:3260)
at Function.ready (jquery.js:3472)
at HTMLDocument.J (jquery.js:3503)
On latest install (4.6.1) I get undefined index warning when running WordPress in debug mode:
Notice: Undefined index: lightbox_gallery_pages in /var/www/html/wp-content/plugins/lightbox-gallery/lightbox-gallery.php on line 84
This can be mitigated by opening that file, going to line 84 and changing it from this:
elseif ( $options['global_settings']['lightbox_gallery_pages'] && is_page() ) :
To this:
elseif ( isset($options['global_settings']['lightbox_gallery_pages']) && is_page() ) :
How do I get it to only show next and previous links < > instead of showing Pages: 1 2 3?
thanks
Randy
Afternoon,
I was wondering if you could make the string that ends up in the element with the ID “cboxCurrent” translatable.
I am using your plugin on a site that is available in multiple languages. There is a string that shows on the lightboxed image in the lower left hand corner that I cannot hook for translation.
]]>Hi there,
I encountered a problem with galleries created by Lighbox plugin recently. Previously it displayed images in accordance with settings, 3 photoes in a row, but a week or two ago it changed (maybe it happened earlier, but I noticed only recently). Most of the photoes are still displayed correctly, but sometimes it shows 1 image in a row, 2 in a row, while other images in the same gallery are still displayed correctly. Please see below links to pages where this problem appeared:
https://aida-style.com/classic-collection/
https://aida-style.com/best-of-april-collection/
https://aida-style.com/best-of-may-belly-dance-collection/
I have a lot a photoes on the site and most of them belong to galleries, and I can not understand the reason for this weird trouble. The height of the photoes is the same – one gallery contains images of the same height ( wight is more or less the same also).
Does anyone has any clue about this problem, and what is the solution?
Thank you in advance!
Alie
any suggestions as to how to fix the elongated thumbnails that mobile viewers get?
]]>Hi,
Is there any way to add a description of the photo instead of ‘image 1 of 15’ in the lightbox?
Also my images are not displaying at their full size, it seems to have a width of 300px in the code, how can I change this?
Thanks
Link to page is https://revivalcafebarandgrill.co.uk/test/
]]>What are the minimum requirement versions for PHP and MySQL>
]]>Was looking at your code for Colorbox and was having some issues with larger images flying off the screen.
Modified line 18 of your lightbox-gallery.js:
jQuery('a[rel*=lightbox]').colorbox({maxWidth:"100%", maxHeight:"100%"});
Can you include in the next plugin update? I think this should probably be the default setting.
]]>Hello,
I would like to know if I can put into single photo a download button
Many thanks
When I create a new gallery, the default “Image n of n” caption continues counting from the previous gallery. It should start over with each new gallery.
]]>My caption text (centered under image) overruns the default text (“Image n of n”, which is left justified) so that the beginning of the Caption appears on top of the end of the default text. Any way to remove “Image n of n”? I don’t need that.
]]>When I insert a gallery between two lines of text, the line beneath the gallery is brought up on the right side of the gallery, instead of staying below it.
]]>Resetting the default number of columns to “4” doesn’t work. The default stays at “3”
]]>Dear,
1/ How to make a link on caption ?
2/ why $attachment->_wp_attachment_image_alt is used instead of $attachment->post_excerpt for the caption text ?
3 / How to avoid that te text box [ image X of Y] override the caption ?
This happen when the caption width is bigger than the image width.
Thanks for your help
Best regards
Note: I use lightbox with colorbox
]]>Hello,
A user of my plugin Enhanced Media Library asked about compatibility with your plugin. To make it happen it needs a minor change described here.
The line 518 in this case should looks like this:
extract(shortcode_atts(array(
'order' => 'ASC',
'orderby' => 'menu_order ID',
'id' => $post->ID,
'itemtag' => $html5 ? 'figure' : 'dl',
'icontag' => $html5 ? 'div' : 'dt',
'captiontag' => $html5 ? 'figcaption' : 'dd',
'columns' => $columns,
'size' => $size,
'include' => '',
'exclude' => '',
'lightboxsize' => $lightboxsize,
'meta' => 'false',
'class' => 'gallery1',
'nofollow' => false,
'from' => '',
'num' => '',
'page' => $page,
'before' => '<div class="gallery_pagenavi">' . __('Pages:'), 'after' => '</div>',
'link_before' => '', 'link_after' => '',
'next_or_number' => 'number', 'nextpagelink' => __('Next page'),
'previouspagelink' => __('Previous page'), 'pagelink' => '%', 'pagenavi' => 1
), $attr, 'gallery' ));
Thanks!
-Nadia
]]>The plugin is looking for /js/jquery.lightbox.js, but this file is not included with the plugin, so it’s generating a 404 error.
I replaced all occurrences with /js/jquery.colorbox.js and now the plugin works.
]]>Hi – I wondered if there was a limit to the number of images you can place in one gallery? 6 galleries working fine – 1 gallery misbehaving! Every time I edit – change the order of images or add some and save the changes it seems to do it’s own thing… selecting images randomly from my library and changing the order.
]]>Hi!
I’ve set a couple of galleries with original integrated WP tool before adding the plugin. When I activate the plugin the slideshow doesn’t work, it basically crashes on an empty open slideshow window…
When installed I didn’t change anything nor downloaded or integrated anything. Is there any action that I am required to take (putting some string code anywhere in the page)?
Thanks,
Best,
]]>