wp-lazysizes icon indicating copy to clipboard operation
wp-lazysizes copied to clipboard

nolazyload - Feature Suggestion

Open stroblee opened this issue 8 years ago • 1 comments

Would be possible for add the option not to add lazyload to all images?

If I interpreted the wp-lazysizes.php code correctly it looks for all <img tags and applies lazysizes - please correct me if wrong.

If this the case would it be possible to add a check and not apply lazysizes, for example if the <img tag has the class 'nolazyload' or 'nolazysizes' or something :) Then lazyload would not be applied to this image... also the same for iFrame I guess 👍

Would be a case of adding the nolazysizes to the skip? $skip_images_regex = '/class=".*lazyload.*"/';

stroblee avatar Jul 14 '16 22:07 stroblee

Great Idea!

woodybepierced avatar Aug 21 '17 15:08 woodybepierced