Jump to content

Lazy Loader


.Nuno.

Recommended Posts

%7Boption%7D



File Name: Lazy Loader

File Submitter: .Nuno.

File Submitted: 10 Aug 2012

File Category: Performance

Supported Versions: IP.Board 3.4.x



With this modification you'll give a Performance Boost to IPB adding the ability to use the Lazy Loader method to delay image loading, making your board run faster.

This modification uses the standalone, fast & cross browser javascript image lazy loader from Vincent Voyer, https://github.com/fasterize/lazyload that is distribute under the MIT license.

Features

Applies Lazy Load to:

  • your bbc images
  • your user pane photos
  • your mini profile photos
  • your signatures
  • your media
  • your front page gallery thumbnails

The screenshot you see is the average loading time from Google Analytics after installing on my board.

Installation
  • Upload the contents of "upload" folder to your IPB ROOT
  • Install the hook: System > Applications & Modules > Manage Hooks
  • Recache your skins: Look & Feel > Template Tools > Recache Skin Sets

Note: You will find two files inside the zip. One applies Lazy Loader to the Gallery Home and the other doesn't. If you have problems with in the Gallery, uninstall one and install the other.



here to download this file

Link to comment
Share on other sites

  • Replies 56
  • Created
  • Last Reply

Steph,

since you have removed the plugin, I'm not able to see what's wrong.

Could you please install it and send by PM the source (view source) of you forum index, a forum category and a topic with bbc image in it?
You may uninstall it after this.

Thanks

Link to comment
Share on other sites


Steph,



since you have removed the plugin, I'm not able to see what's wrong.



Could you please install it and send by PM the source (view source) of you forum index, a forum category and a topic with bbc image in it?


You may uninstall it after this.



Thanks




Well I have reactivated the hook. But so far everything works fine. I can't reproduce the error.
Link to comment
Share on other sites

  • 3 months later...

Gallery frontpage shows this:


Warning

: Missing argument 7 for lazyloaderGallery::homeTraditional(), called in /home/******/public_html/admin/applications_addon/ips/gallery/modules_public/albums/home.php on line 257 and defined in

/home/

******

/public_html/admin/sources/classes/output/publicOutput.php(3526) : eval()'d code

on line

16

Warning

: Cannot modify header information - headers already sent by (output started at /home/******/public_html/admin/sources/classes/output/publicOutput.php(3526) : eval()'d code:16) in

/home/

******

/public_html/admin/sources/classes/output/formats/html/htmlOutput.php

on line

114

Warning

: Cannot modify header information - headers already sent by (output started at /home/******/public_html/admin/sources/classes/output/publicOutput.php(3526) : eval()'d code:16) in

/home/

******

/public_html/admin/sources/classes/output/formats/html/htmlOutput.php

on line

127

Warning

: Cannot modify header information - headers already sent by (output started at /home/******/public_html/admin/sources/classes/output/publicOutput.php(3526) : eval()'d code:16) in

/home/

******

/public_html/admin/sources/classes/output/formats/html/htmlOutput.php

on line

136

Warning

: Cannot modify header information - headers already sent by (output started at /home/******/public_html/admin/sources/classes/output/publicOutput.php(3526) : eval()'d code:16) in

/home/

******

/public_html/admin/sources/classes/output/formats/html/htmlOutput.php

on line

137

Warning

: Cannot modify header information - headers already sent by (output started at /home/******/public_html/admin/sources/classes/output/publicOutput.php(3526) : eval()'d code:16) in

/home/

******

/public_html/admin/sources/classes/output/formats/html/htmlOutput.php

on line

141

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...