Lazy Load [img]

Lazy Load [img] 2.6.0

No permission to download
XF1 Version

Q. How do I allow users to opt-out of lazy image loading.
A. This is a little involved, but user group promotions can allow using custom fields to toggle permissions to disabled.

To allow users to opt-out of lazy loading;
  • Create a user-group with the "lazy load images" permission set to "never".
  • Create a user custom field "Disable lazy Image loading" as a checkbox with the value "disable".
  • Create a "user group promotion", and apply the user-group if the user custom field is set to "disable".
  • Install this add-on so it applies instantly on user setting it;
Top Bottom