LazyLoad for post images

Lazy load and lightbox - LazyLoad for post images

Lazy load and lightbox

by andreask » Mon Sep 18, 2017 7:24 pm

Hello,

It seams to me that lazy load does not cooperate with lightbox...
Is there a way to make them be happy together?

If I enable lazyload lightbox does not work.

Is this a lightbox or a lazyload issue? :?: :lol:

Thanks!
Here is what I am working on right now...
Inactive User Manager for phpBB
Give it a try...
If you would like to buy me a bier ;) for my work I will drink it on a hot summer day and thank you!!!
andreask
Registered User
Posts: 613
Joined: Fri Feb 27, 2009 6:13 pm
Name: Andreas
Contact:

Re: Lazy load and lightbox

by rubencm » Mon Sep 18, 2017 7:34 pm

Note: This extension may be incompatible with other extensions that rely on the <img src=""> element like some image resizers.
Yes, it is possible to make both work together, but you have to modify lightbox a little
User avatar
rubencm
Development Team Member
Development Team Member
Posts: 89
Joined: Fri Oct 05, 2007 2:24 pm
Location: Spain
Contact:

Re: Lazy load and lightbox

by andreask » Mon Sep 18, 2017 9:21 pm

Would you please show me how?
Thanks again!
Here is what I am working on right now...
Inactive User Manager for phpBB
Give it a try...
If you would like to buy me a bier ;) for my work I will drink it on a hot summer day and thank you!!!
andreask
Registered User
Posts: 613
Joined: Fri Feb 27, 2009 6:13 pm
Name: Andreas
Contact:

Re: Lazy load and lightbox

by rockmartin » Tue Sep 26, 2017 12:27 pm

+1
rockmartin
Registered User
Posts: 28
Joined: Tue Apr 26, 2016 7:00 am
Contact:

Re: Lazy load and lightbox

by rubencm » Tue Sep 26, 2017 1:35 pm

Check this
Attachments
lightbox.zip
(53.38 KiB) Downloaded 113 times
User avatar
rubencm
Development Team Member
Development Team Member
Posts: 89
Joined: Fri Oct 05, 2007 2:24 pm
Location: Spain
Contact:

Re: Lazy load and lightbox

by donsenilo » Tue Sep 26, 2017 2:22 pm

Hm ... I don't get it ...

Ok, your lightbox works, but I can't see any changes that sites are loading faster.

Can someone confirm that sites are loading faster ?
User avatar
donsenilo
Registered User
Posts: 306
Joined: Wed Oct 08, 2014 6:23 pm
Name: Markus
Contact:

Re: Lazy load and lightbox

by rubencm » Tue Sep 26, 2017 3:38 pm

This is how it works: https://appelsiini.net/projects/lazyload/enabled/

You can see if its working with your browser inspector.
You will se the difference only if there is a large number of images
User avatar
rubencm
Development Team Member
Development Team Member
Posts: 89
Joined: Fri Oct 05, 2007 2:24 pm
Location: Spain
Contact:

Re: Lazy load and lightbox

by </Solidjeuh> » Thu Aug 01, 2019 11:50 pm

Any updated for the latest lightbox version?
User avatar
</Solidjeuh>
Registered User
Posts: 1788
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact: