collective / collective.lazysizes

Integration of lazysizes, a lightweight lazy loader, into Plone.
https://pypi.org/project/collective.lazysizes
6 stars 2 forks source link

WIP: Authenticated enabled #2

Closed jochumdev closed 8 years ago

jochumdev commented 8 years ago

I've added a registry setting "authenticated_enabled" which allows us to enable lazysizes for authenticated users (defaults to False).

What do you think about that? Gonna write an upgrade step if you like it.

jochumdev commented 8 years ago

The second patch enables with Plone 5/Barceloneta.

They use <article> id="content" instead of <div> id="content"

hvelarde commented 8 years ago

I'm not pretty sure about this one right now; in the future, as package becomes more stable, we can just enable it by default on all users regarding login status.

jochumdev commented 8 years ago

Ok, then lets close it. :-)