Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Lazy Load Plugin  (Read 7140 times)

0 Members and 1 Guest are viewing this topic.

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Lazy Load Plugin
« on: November 10, 2019, 01:20:55 am »

Causes thumbnail images to not be loaded until they are scrolled into view. Mostly useful for mobile devices or sites with a large number of thumbnails per page.
This will probably need more work but those interested can try this and let me know the good and bad.

Update: v1.1 Provides configuration option to choose thumbnail placeholder image.
Update: v1.1.2 Made compatible with Fancybox Media Viewer plugin
« Last Edit: February 17, 2022, 01:18:37 pm by ron4mac »
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: Lazy Load Plugin
« Reply #1 on: November 11, 2019, 08:48:24 am »

 :)
« Last Edit: November 11, 2019, 09:08:49 am by allvip »
Logged

Sweetener

  • Contributor
  • Coppermine regular visitor
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 64
Re: Lazy Load Plugin
« Reply #2 on: November 21, 2019, 08:25:47 pm »

Kind of a rainy, lazy Saturday...  Took some time now to craft a quick LazyLoad plugin.

This will probably need more work but those interested can try this and let me know the good and bad.
( should not be used with the theme modification above )

It works perfectly fine on my gallery
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 20 queries.