From 7d974aaf4fef92787ed355e908b9d787c37659c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caspar=20Hu=CC=88binger?= Date: Thu, 13 Aug 2015 20:44:01 +0200 Subject: [PATCH 1/6] updated plugin header. closes #3 --- crazy-lazy.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/crazy-lazy.php b/crazy-lazy.php index 99b4337..fd87f3f 100644 --- a/crazy-lazy.php +++ b/crazy-lazy.php @@ -1,12 +1,13 @@ Date: Thu, 13 Aug 2015 20:46:34 +0200 Subject: [PATCH 2/6] #2 merged readme.txt into README.md, updated copy --- README.md | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 85 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4dba4e6..cbbb6cc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,86 @@ -# crazy-lazy +# Crazy Lazy # +* Contributors: pluginkollektiv +* Tags: lazy, load, loading, performance, images +* Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LG5VC9KXMAYXJ +* Requires at least: 3.6 +* Tested up to: 4.3 +* Stable tag: trunk +* License: GPLv2 or later +* License URI: http://www.gnu.org/licenses/gpl-2.0.html + + Lazy load images. Simple to use: Activate, done. Search engine and noscript user friendly. + + +## Description ## + +*Crazy Lazy* übernimmt die effiziente Anzeige der Artikelbilder im WordPress-Blog. Um die Performance der Blogseiten zu steigern, werden nicht alle Bilder sofort vom Server angefordert, sondern nach Bedarf: Erst beim Erreichen der Scroll-Position lädt *Crazy Lazy* das entsprechende Bild nach. + +Durch die Nachlade-Technik lassen sich Ladezeiten verkürzen und der Traffic reduzieren. + +Das Lazy Load Plugin ist simpel aufgebaut und benötigt keinerlei Einstellungen: Aktivieren, läuft. Je nach Theme bzw. die jQuery-Nutzung verwendet *Crazy Lazy* wahlweise das modifizierte jQuery Plugin [Unveil.js](https://github.com/luis-almeida/unveil) oder die JavaScript-native Bibliothek [lazyload.js](https://gist.github.com/miloplacencia/3931803). + + +### Formatierung ### + +Bilder-Platzhalter können via CSS dekoriert werden. Einige Beispiele: +`img[src*='data:image/gif;base64'] { + border: 1px dashed #dbdbdb; +}` + +`img.crazy_lazy { + background: url(/wp-includes/images/wpspin-2x.gif) no-repeat center center; + background-size: 16px 16px; +}` + + +### Video ### +[youtube http://www.youtube.com/watch?v=tMv5tl3Q4Aw] + + +### Hinweise ### + +* Berücksichtigt werden alle über die Mediathek eingebundene Bilder inkl. Beitragsbild. +* Template `footer.php` muss den Funktionsaufruf `wp_footer()` beinhalten. +* Es handelt sich um meine eigene Weiterentwicklung von [Unveil.js für WordPress](https://github.com/sergejmueller/unveil-wordpress-plugin). +* Funktioniert mit jedem Caching-Plugin - auch mit [Cachify](http://cachify.de). + + +### Speicherbelegung ### +* Im Backend: ~ 0,01 MB +* Im Frontend: ~ 0,04 MB + + +## Installation ## +* Plugin aktivieren. +* Fertig. + + +### Credits ### +* Author: [Sergej Müller](https://sergejmueller.github.io/) +* Maintainers: [pluginkollektiv](http://pluginkollektiv.org/) + + +## Changelog ## + +### 0.0.9.1 ### +* Support für WordPress-Bildergalerien entfernt, da einige Nutzer von Problemen berichtet haben + +### 0.0.9 ### +* Support zu WordPress 4.0 +* Lazy Loading für WordPress-Bildergalerien + +### 0.0.8 ### +* Weiches Einblenden der Bilder (FadeIn) +* Modifizierung der Unveil.js-Bibliothek + +### 0.0.7 ### +* Unterstützung weiterer Formate des img-Tags + +### 0.0.6 ### +* Hot Fix für fehlerhafte WordPress-Funktion `wp_script_is` + +### 0.0.5 ### +* Fallback aus purem JavaScript +* Umzug to WordPress.org +* [Mehr auf Google+](https://plus.google.com/110569673423509816572/posts/SnhULufzrMF) From e274572f9538ce824d326cc3308fc3927cd28048 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caspar=20Hu=CC=88binger?= Date: Thu, 13 Aug 2015 20:47:12 +0200 Subject: [PATCH 3/6] deleted readme.txt. closes #2 --- readme.txt | 99 ------------------------------------------------------ 1 file changed, 99 deletions(-) delete mode 100644 readme.txt diff --git a/readme.txt b/readme.txt deleted file mode 100644 index 9cb0982..0000000 --- a/readme.txt +++ /dev/null @@ -1,99 +0,0 @@ -=== Crazy Lazy === -Contributors: pluginkollektiv -Tags: lazy, load, loading, performance, images -Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZAQUT9RLPW8QN -Requires at least: 3.6 -Tested up to: 4.2.2 -Stable tag: trunk -License: GPLv2 or later -License URI: http://www.gnu.org/licenses/gpl-2.0.html - - - -Lazy load images. Simple to use: Activate, done. Search engine and noscript user friendly. - - - -== Description == - -*Crazy Lazy* übernimmt die effiziente Anzeige der Artikelbilder im WordPress-Blog. Um die Performance der Blogseiten zu steigern, werden nicht alle Bilder sofort vom Server angefordert, sondern nach Bedarf: Erst beim Erreichen der Scroll-Position lädt *Crazy Lazy* das entsprechende Bild nach. - -Durch die Nachlade-Technik lassen sich Ladezeiten verkürzen und der Traffic reduzieren. - -Das Lazy Load Plugin ist simpel aufgebaut und benötigt keinerlei Einstellungen: Aktivieren, läuft. Je nach Theme bzw. die jQuery-Nutzung verwendet *Crazy Lazy* wahlweise das modifizierte jQuery Plugin [Unveil.js](https://github.com/luis-almeida/unveil) oder die JavaScript-native Bibliothek [lazyload.js](https://gist.github.com/miloplacencia/3931803). - - -= Formatierung = - -Bilder-Platzhalter können via CSS dekoriert werden. Einige Beispiele: -`img[src*='data:image/gif;base64'] { - border: 1px dashed #dbdbdb; -}` - -`img.crazy_lazy { - background: url(/wp-includes/images/wpspin-2x.gif) no-repeat center center; - background-size: 16px 16px; -}` - - -= Video = -[youtube http://www.youtube.com/watch?v=tMv5tl3Q4Aw] - - -= Hinweise = - -* Berücksichtigt werden alle über die Mediathek eingebundene Bilder inkl. Beitragsbild. -* Template `footer.php` muss den Funktionsaufruf `wp_footer()` beinhalten. -* Es handelt sich um meine eigene Weiterentwicklung von [Unveil.js für WordPress](https://github.com/sergejmueller/unveil-wordpress-plugin). -* Funktioniert mit jedem Caching-Plugin - auch mit [Cachify](http://cachify.de). - - -= Speicherbelegung = -* Im Backend: ~ 0,01 MB -* Im Frontend: ~ 0,04 MB - - -= Unterstützung = -* Per [Flattr](https://flattr.com/t/1879247) -* Per [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZAQUT9RLPW8QN) - - -= Autor = -* [Twitter](https://twitter.com/wpSEO) -* [Google+](https://plus.google.com/110569673423509816572) -* [Plugins](http://wpcoder.de) - - - - -== Installation == - -1. Plugin aktivieren. -1. Fertig. - - - - -== Changelog == - -= 0.0.9.1 = -* Support für WordPress-Bildergalerien entfernt, da einige Nutzer von Problemen berichtet haben - -= 0.0.9 = -* Support zu WordPress 4.0 -* Lazy Loading für WordPress-Bildergalerien - -= 0.0.8 = -* Weiches Einblenden der Bilder (FadeIn) -* Modifizierung der Unveil.js-Bibliothek - -= 0.0.7 = -* Unterstützung weiterer Formate des img-Tags - -= 0.0.6 = -* Hot Fix für fehlerhafte WordPress-Funktion `wp_script_is` - -= 0.0.5 = -* Fallback aus purem JavaScript -* Umzug to WordPress.org -* [Mehr auf Google+](https://plus.google.com/110569673423509816572/posts/SnhULufzrMF) \ No newline at end of file From 1a42ae71fbf4f356ffe099112d049d3134915516 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caspar=20Hu=CC=88binger?= Date: Thu, 13 Aug 2015 21:14:35 +0200 Subject: [PATCH 4/6] translated README, added FAQ. closes #4 --- README.md | 48 ++++++++++++++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index cbbb6cc..d32628c 100644 --- a/README.md +++ b/README.md @@ -9,21 +9,27 @@ * License URI: http://www.gnu.org/licenses/gpl-2.0.html -Lazy load images. Simple to use: Activate, done. Search engine and noscript user friendly. +Lazy load images. Simple to use: activate, done. Search engine and noscript user friendly. ## Description ## +*Crazy Lazy* helps increasing the performance of your blog or website by displaying images efficiently. When a page would usually display some images, *Crazy Lazy* will prevent those images to load. Only when a user scrolls down the page and reaches the position where an image actually should be displayed, that particular image will be loaded from the server. +By loading images only when needed, *Crazy Lazy* will reducing page loading times and (potentially costly) traffic. + +This Lazy Load plugin is structured very lean and does not require any settings: activate, done. Depending on the theme or the usage of jQuery *Crazy Lazy* optionally will utilze a modified version of the jQuery plugin [Unveil.js](https://github.com/luis-almeida/unveil), or the native JavaScript library [lazyload.js](https://gist.github.com/miloplacencia/3931803). + +### Deutsch ### *Crazy Lazy* übernimmt die effiziente Anzeige der Artikelbilder im WordPress-Blog. Um die Performance der Blogseiten zu steigern, werden nicht alle Bilder sofort vom Server angefordert, sondern nach Bedarf: Erst beim Erreichen der Scroll-Position lädt *Crazy Lazy* das entsprechende Bild nach. Durch die Nachlade-Technik lassen sich Ladezeiten verkürzen und der Traffic reduzieren. Das Lazy Load Plugin ist simpel aufgebaut und benötigt keinerlei Einstellungen: Aktivieren, läuft. Je nach Theme bzw. die jQuery-Nutzung verwendet *Crazy Lazy* wahlweise das modifizierte jQuery Plugin [Unveil.js](https://github.com/luis-almeida/unveil) oder die JavaScript-native Bibliothek [lazyload.js](https://gist.github.com/miloplacencia/3931803). +### Styling ### -### Formatierung ### +Placeholders for images can be styled, i.e. like this: -Bilder-Platzhalter können via CSS dekoriert werden. Einige Beispiele: `img[src*='data:image/gif;base64'] { border: 1px dashed #dbdbdb; }` @@ -38,33 +44,39 @@ Bilder-Platzhalter können via CSS dekoriert werden. Einige Beispiele: [youtube http://www.youtube.com/watch?v=tMv5tl3Q4Aw] -### Hinweise ### +### Memory Usage ### +* Back-end: ~ 0,01 MB +* Front-end: ~ 0,04 MB -* Berücksichtigt werden alle über die Mediathek eingebundene Bilder inkl. Beitragsbild. -* Template `footer.php` muss den Funktionsaufruf `wp_footer()` beinhalten. -* Es handelt sich um meine eigene Weiterentwicklung von [Unveil.js für WordPress](https://github.com/sergejmueller/unveil-wordpress-plugin). -* Funktioniert mit jedem Caching-Plugin - auch mit [Cachify](http://cachify.de). - -### Speicherbelegung ### -* Im Backend: ~ 0,01 MB -* Im Frontend: ~ 0,04 MB +### Credits ### +* Author: [Sergej Müller](https://sergejmueller.github.io/) +* Maintainers: [pluginkollektiv](http://pluginkollektiv.org/) ## Installation ## -* Plugin aktivieren. -* Fertig. +* If you don’t know how to install a plugin for WordPress, [here’s how](http://codex.wordpress.org/Managing_Plugins#Installing_Plugins). -### Credits ### -* Author: [Sergej Müller](https://sergejmueller.github.io/) -* Maintainers: [pluginkollektiv](http://pluginkollektiv.org/) +## Frequently Asked Questions ## + +### Will this plugin lazy load all the images on a page? ### +All images that have been uploaded into your media library, including featured images. + +### Will I have to edit any theme template files to make this work? ### +Usually no. If Crazy Lazy doesn’t work out of the box, check your active theme’s `footer.php` template file. There should be a line calling `wp_footer()` in it which is required for Crazy Lazy to work properly. + +### What’s with the “modified” version of Unveil.js? ### +That’s a fork of Unveil.js: [Unveil.js for WordPress](https://github.com/sergejmueller/unveil-wordpress-plugin) by. + +### Will Crazy Lazy work well with any caching plugins? ### +Crazy Lazy will work with every caching plugin, including our own [Cachify](https://wordpress.org/plugins/cachify/). ## Changelog ## ### 0.0.9.1 ### -* Support für WordPress-Bildergalerien entfernt, da einige Nutzer von Problemen berichtet haben +* Removed support for WordPress’ native galleries after some users had reported issues ### 0.0.9 ### * Support zu WordPress 4.0 From 9f39b4292e9d4d01e7b502608b5167c64e362683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caspar=20Hu=CC=88binger?= Date: Sat, 15 Aug 2015 16:46:55 +0200 Subject: [PATCH 5/6] #2 formatting --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d32628c..b2d078a 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ By loading images only when needed, *Crazy Lazy* will reducing page loading time This Lazy Load plugin is structured very lean and does not require any settings: activate, done. Depending on the theme or the usage of jQuery *Crazy Lazy* optionally will utilze a modified version of the jQuery plugin [Unveil.js](https://github.com/luis-almeida/unveil), or the native JavaScript library [lazyload.js](https://gist.github.com/miloplacencia/3931803). + ### Deutsch ### *Crazy Lazy* übernimmt die effiziente Anzeige der Artikelbilder im WordPress-Blog. Um die Performance der Blogseiten zu steigern, werden nicht alle Bilder sofort vom Server angefordert, sondern nach Bedarf: Erst beim Erreichen der Scroll-Position lädt *Crazy Lazy* das entsprechende Bild nach. @@ -26,8 +27,8 @@ Durch die Nachlade-Technik lassen sich Ladezeiten verkürzen und der Traffic red Das Lazy Load Plugin ist simpel aufgebaut und benötigt keinerlei Einstellungen: Aktivieren, läuft. Je nach Theme bzw. die jQuery-Nutzung verwendet *Crazy Lazy* wahlweise das modifizierte jQuery Plugin [Unveil.js](https://github.com/luis-almeida/unveil) oder die JavaScript-native Bibliothek [lazyload.js](https://gist.github.com/miloplacencia/3931803). -### Styling ### +### Styling ### Placeholders for images can be styled, i.e. like this: `img[src*='data:image/gif;base64'] { @@ -59,7 +60,6 @@ Placeholders for images can be styled, i.e. like this: ## Frequently Asked Questions ## - ### Will this plugin lazy load all the images on a page? ### All images that have been uploaded into your media library, including featured images. @@ -74,7 +74,6 @@ Crazy Lazy will work with every caching plugin, including our own [Cachify](http ## Changelog ## - ### 0.0.9.1 ### * Removed support for WordPress’ native galleries after some users had reported issues From 6e4109bdb502d29713c91bcc6b882eec7382950c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caspar=20Hu=CC=88binger?= Date: Tue, 18 Aug 2015 15:16:11 +0200 Subject: [PATCH 6/6] #5 updated changelog, bumped version --- README.md | 4 ++++ crazy-lazy.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b2d078a..ecb16f3 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,10 @@ Crazy Lazy will work with every caching plugin, including our own [Cachify](http ## Changelog ## +### 0.0.9.2 ### +* translated README +* updated [plugin authors](https://gist.github.com/glueckpress/f058c0ab973d45a72720) + ### 0.0.9.1 ### * Removed support for WordPress’ native galleries after some users had reported issues diff --git a/crazy-lazy.php b/crazy-lazy.php index fd87f3f..5f413ec 100644 --- a/crazy-lazy.php +++ b/crazy-lazy.php @@ -7,7 +7,7 @@ Plugin URI: https://wordpress.org/plugins/crazy-lazy/ License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -Version: 0.0.9.1 +Version: 0.0.9.2 */ /*