هذه الإضافة لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية. قد لا تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق عند إستخدامها مع إصدارات حديثة من ووردبريس.

NG-Lazyload

الوصف

NG-Lazyload plugin replaces all the thumbails and images in the content with the smallest image possible (1 pixel gif) and then shows the full image only when it is in viewport.
The only plugin which also works with background images in style tag

التنصيب

Use WordPress’ Add New Plugin feature, searching “NG-Lazyload”, or download the archive and:

  1. Unzip the archive on your computer
  2. Upload plugin directory to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. No more actions required

For theme developers: add nglazyload class to html blocks with background images
to lazy-load them if they are stated in css file.
If html block has style=”background-image: url(…)” you don’t have to.

المراجعات

إقرأ جميع المراجعات 2

المساهمون والمطوّرون

“NG-Lazyload” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

ترجمة ”NG-Lazyload“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات

= 1.8 (2022-05-01)
* Tested up to 5.9.3
* Minor js updates
* Fixed one filters’ conflict

= 1.7 (2020-02-26)
* Tested up to 5.3.2
* Loads current and next viewport below
* Add ‘nglazyload’ class to your html block to hide its background images from preloading

1.6 (2019-09-95)

  • Tested up to 5.2.3

1.5 (2019-09-05)

  • jQuery noConflict script

1.4 (2019-05-06)

  • Slightly optimized js

1.3 (2019-05-05)

  • Added icon

1.2 (2019-05-04)

  • Now modifies style tags which have background-images. Useful when you have sliders like slick or owl caroussel.

1.0 (2019-05-02)

  • The First Upload, but was tested before at several sites
  • Supports thumbnails, attachments and content