0
0
2014-02-22T02:06:00+00:00
Thank you, ImageLightbox.js is indeed amazing ... unfortunately for me the plugin doesn't work, do i miss something. in the installation instructions it says "download & activate". but nothing happens - neither on single images nor on galleries ...
thank you for your help,
M
0
0
2014-02-22T14:29:00+00:00
Could I see a page where this doesn't work? I'm curious about the markup.
0
0
2014-02-22T22:35:00+00:00
hello,
the page isn't online yet - it is a WP 3.8.1 without any plugins but yours and i want to open links from a std. gallery, I don't know if i can copy html code in here, lets see ...
...
in the theme i created some custom post types and the gallery is on one of them, but just for testing it didn't work with a gallery in a usual post or page neither - the css in the header and the js in the footer get loaded on both pages though ...
thanks,
M
0
0
2014-02-22T22:45:00+00:00
well, seems that copying html-code didn't work,
here it is ...
http://pastebin.com/d82D3vub
0
0
2014-02-22T23:01:00+00:00
alright, i found the error ... seems like your plugin doesn't load jquery on its own. a simple
wp_enqueue_script("jquery");
in the functions.php of the theme did the trick.
nevertheless i think you should include it in future releases of the plugin.
well, thanks for the plugin - works like a charm now :)
M
0
0
2014-02-23T03:41:00+00:00
Oh. Right. I didn't really account for someone not having any other plugin than this. Thanks for the testing. I commited the changes (r3). It should be working now without any other plugin :)
0
0
2014-04-01T01:34:00+00:00
Hello,
thanks for the plugin.
I had some problems to activate the plugin.
After an hour of searching I found out, that the imagelightbox.min.js script was not loadet with the »wp_enqueue_script«.
Reason for that was an missing wp_footer()-tag in my theme.
I know – my mistake. Know I know, that the wp_footer()-tag is important.
0
0
2014-05-12T09:01:00+00:00
The imagelightbox by osvaldas is my absolute favourite lightbox it looks so good on an iPhone. But i had a problem; sometimes the fotos were not centered in the lightbox, but on the left side. The problem disapeared when I loaded another jquery; instead of jquery-1.11.0.js I had to use jquery-1.10.1.js, problem solved. But now I found wp-imagelightbox (thanks for this WordPress Version: r3) and the exact same problem is there. Latest WordPress is using jQuery v1.11.0.js. So who do I call, Osvaldas, WordPress or you? Thanks for any advice
0
0
2014-05-13T17:05:00+00:00
I'd say it's a specific issue with Imagelightbox.js and that jQuery version.
0
0
2014-05-14T02:17:00+00:00
It is WordPress v3.9 and I don't think that I should tamper with the WordPress code, in the wp-includes/js/jquery/jquery.js
There is no problem with the latest browsers Chrome, Firefox and iPhone, but only with IE9.
0
0
2014-07-02T19:49:00+00:00
Hi Znuff, thanks for the post.
I found the click-through doesn't work on firefox, as well as if we're clicking outside of the image nothing happened (suppose to be closed, works fine on chrome). I've looked over but I found nothing on this. It works fine with the dots though. It's just looking great i dont feel like going back to fancybox and all that. Any idea why?
Thanks
0
0
2014-07-03T12:14:00+00:00
I just tested it now on Firefox and it seems to be working fine.
Could you also try on Osvaldas' website and see if his works fine? Maybe you have a Firefox addon that interferes with it? (I have a "clean" firefox profile without addons)
0
0
2014-07-03T12:54:00+00:00
Oh ok then probably it's just my Firefox. I have tried on Osvaldas' website as well and same problem when im on firefox... I'll have a look on it and see how it goes.
Thanks! :)
0
0
2014-09-26T00:21:00+00:00
0
0
2014-09-26T00:27:00+00:00
Weird... comments form stripped the forward slash
In above "After plugin" text... plugin puts forwards slash in front of
/ data-imagelightbox="f">
( forward slash before data-imagelightbox="f" )
Not sure if the comments form will remove the forward slash again in this addendum reply.
0
0
2014-09-28T11:02:00+00:00
It's OK... finally figured out how to make it 100% HTML5 validate on my site. Now, no errors.
Modified these 2 lines in wp-imagelightbox.php :
$pattern = "/
/i";
$replacement = ' ';
0
0
2014-10-05T18:30:00+00:00
Hey! Awesome plugin!
Do you know any way to destroy the imageLightbox instance and then initialize it again?
I want to implement it on an infinite scroll website and I want to add the new images in the same gallery.
Thanks!
0
0
2014-10-06T12:41:00+00:00
Hey, sorry for not seeing your messages earlier, but I'm glad you figured out how to make it work.
Unfortunately I can't replicate your usage case. I don't see a forward-slash appended in my output. I could only think that maybe another plugin on your blog is adding some weird markup which my regex doesn't work with.
I'll have to investigate when I have time.
0
0
2014-10-08T00:15:00+00:00
You could simply just re-run the init function after you're adding elements to the DOM:
var d = 'a[data-imagelightbox="f"]';
var v = jQuery(d).imageLightbox({
onStart: function() {
a(v, d);
n();
i(v)
},
onEnd: function() {
l();
r();
u();
s();
t()
},
onLoadStart: function() {
u();
e()
},
onLoadEnd: function() {
f(d);
t();
o()
}
})
0
0
2014-10-08T20:58:00+00:00
Hey! Znuff I tried that, but that would just create another instance. I finally figured it out. You can reset all the instances of the lightbox by unbinding the 'click' event with jQuery's .off(). Then, you can just re-initialize the lightbox:
var selector = 'a[data-imagelightbox="f"]';
$(document).off('click',selector);
var instance = $(selector).imageLightbox({ ... });
Hope this will help others too! :)
Cheers!
0
0
2015-04-23T14:55:00+00:00
This helped me greatly, thanks!
0
0
2015-04-29T12:10:00+00:00
I tried to test ImageLightbox.js plugin and do not appears zoom button in the upper right and left-right arrows.
Any idea what should be changed to appear buttons missing.
0
0
2015-04-30T06:45:00+00:00
Hi.
That version (well, this version that is running right here) is not yet published on the wordpress.org repository. I didn't exactly have time to polish it more.
I will try to make some time, soon.