Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Lazy Load Plugin  (Read 7579 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.019 seconds with 21 queries.