.Nuno. Posted August 14, 2012 Share Posted August 14, 2012 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. InstallationUpload 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 More sharing options...
Rimi Posted August 14, 2012 Share Posted August 14, 2012 I always loved this thing. Does it work with shared media and attachments? Link to comment Share on other sites More sharing options...
.Nuno. Posted August 14, 2012 Author Share Posted August 14, 2012 No, not at this time. I'll see what I can do in the next version :) Link to comment Share on other sites More sharing options...
Volstate Posted August 14, 2012 Share Posted August 14, 2012 I'd be interested to hear from people as to how much of a difference they notice... Link to comment Share on other sites More sharing options...
Rimi Posted August 14, 2012 Share Posted August 14, 2012 I'd be interested to hear from people as to how much of a difference they notice...Oh I don't know about the difference..I just love how the images fade into the page... Link to comment Share on other sites More sharing options...
peva Posted August 14, 2012 Share Posted August 14, 2012 Just installed this. Going to run some tests to see what the performance changes are. Link to comment Share on other sites More sharing options...
.Nuno. Posted August 14, 2012 Author Share Posted August 14, 2012 I'd be interested to hear from people as to how much of a difference they notice... Your site will run faster since browsers won't donwload images unless user scroll near them. Link to comment Share on other sites More sharing options...
Van2 Posted August 16, 2012 Share Posted August 16, 2012 I would like to see a link to a site that is using this feature Thanks Link to comment Share on other sites More sharing options...
.Nuno. Posted August 16, 2012 Author Share Posted August 16, 2012 I would like to see a link to a site that is using this feature Thanks http://goo.gl/YX5kT Link to comment Share on other sites More sharing options...
Van2 Posted August 16, 2012 Share Posted August 16, 2012 http://goo.gl/YX5kT Thank you Link to comment Share on other sites More sharing options...
Steph40 Posted August 21, 2012 Share Posted August 21, 2012 I like the Idea, but after I installed, some forum would not load when I click on them. Back to working after uninstall. Odd. Steph Link to comment Share on other sites More sharing options...
.Nuno. Posted August 22, 2012 Author Share Posted August 22, 2012 Hi Steph, What version of IPB are you running? Thanks Link to comment Share on other sites More sharing options...
Dmacleo Posted August 22, 2012 Share Posted August 22, 2012 those forums were not being viewed from IE 8 were they? saw some oddities with IE8 myself but...I care so little about that browser I did not note them down. Link to comment Share on other sites More sharing options...
Steph40 Posted August 22, 2012 Share Posted August 22, 2012 Hi Steph, What version of IPB are you running? Thanks Using 3.3. I was viewing forum with firefox. Steph Link to comment Share on other sites More sharing options...
.Nuno. Posted August 22, 2012 Author Share Posted August 22, 2012 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 More sharing options...
Steph40 Posted August 22, 2012 Share Posted August 22, 2012 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 More sharing options...
Steph40 Posted August 22, 2012 Share Posted August 22, 2012 Link to my site is in my sig, feel free to navigate Link to comment Share on other sites More sharing options...
.Nuno. Posted August 22, 2012 Author Share Posted August 22, 2012 Link to my site is in my sig, feel free to navigate Working as expected! Link to comment Share on other sites More sharing options...
Steph40 Posted August 23, 2012 Share Posted August 23, 2012 Working as expected! I deactivated cloudflare, do you think it is conflicting with this app? Link to comment Share on other sites More sharing options...
.Nuno. Posted December 20, 2012 Author Share Posted December 20, 2012 I upgrade this mod and added the ability to replace signatures too. Link to comment Share on other sites More sharing options...
Cyrem Posted December 22, 2012 Share Posted December 22, 2012 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 16Warning: 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 114Warning: 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 127Warning: 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 136Warning: 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 137Warning: 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 More sharing options...
.Nuno. Posted December 22, 2012 Author Share Posted December 22, 2012 Hello, Can you tell me the gallery version you are running? I'm using in my live board with IPB 3.4.1 and gallery 5.0.3 without issues, both social and traditional home view. Thanks Link to comment Share on other sites More sharing options...
Cyrem Posted December 22, 2012 Share Posted December 22, 2012 Using 5.0.3. It's not being caused by any third-party hooks or applications, nor is it caused by skins. Link to comment Share on other sites More sharing options...
.Nuno. Posted December 23, 2012 Author Share Posted December 23, 2012 Hello, I can't reproduce your error either in my live board or with a fresh install with IPB 3.4.1 and Gallery 5.0.3. Link to comment Share on other sites More sharing options...
Cyrem Posted December 24, 2012 Share Posted December 24, 2012 I'm using IP.B 3.3.4, Could this be the issue? (Although it shouldn't really since this only occurs on the gallery) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.