Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
- allow integration with imagecache presets: so you can choose which images are lazy loaded (can be done by css class, e.g. $('img.imagecache-preset1');)
- allow admin settings for fade-in/preloader, custom bg color
I really like this module, it work perfectly integrated with either imgcache, or allow to set custom img classes (in a textarea box, 1 class per line). You could add it easily to
Very nice , Thanks @morningtime for the great contribution.
There is a new release beta1 which contains several changes (No admin settings yet).
I'm reviewing your patch , you've changed module's dependency to image module. but it can be optional since it works for any kind of image anywhere, for example for pages generated with views or images integrated into theme.
You also removed _lazy_image_loading_page_match (it wasn't working on D6.x version i'm aware of that) function which means that the javascript will be included on every page which is not appropriate in my opinion.
Comments
Comment #1
Anonymous (not verified) commentedMy 2 cents:
- allow integration with imagecache presets: so you can choose which images are lazy loaded (can be done by css class, e.g. $('img.imagecache-preset1');)
- allow admin settings for fade-in/preloader, custom bg color
Comment #2
Anonymous (not verified) commentedI really like this module, it work perfectly integrated with either imgcache, or allow to set custom img classes (in a textarea box, 1 class per line). You could add it easily to
If you need some help, let me know. I'd be happy to work on the admin settings page! I could make a patch for it coming weeks.
Comment #3
Anonymous (not verified) commentedI decided to build on your module, see attached . it has admin settings for css classes, threshold, event, effect and failurelimit.
Comment #4
sinasalek commentedVery nice , Thanks @morningtime for the great contribution.
There is a new release beta1 which contains several changes (No admin settings yet).
I'm reviewing your patch , you've changed module's dependency to image module. but it can be optional since it works for any kind of image anywhere, for example for pages generated with views or images integrated into theme.
You also removed _lazy_image_loading_page_match (it wasn't working on D6.x version i'm aware of that) function which means that the javascript will be included on every page which is not appropriate in my opinion.
Let me know you opinion.
Glad to hear that ;)
Comment #5
Anonymous (not verified) commentedYeah image is optional, I put the menu link as a tab for image, but thats not really important.
page_match is something to figure out, I haven't really looked at it yet!
Comment #6
sinasalek commentedIt used to work on D5, but i didn't port it completely to D6 so i had to disable it, it'll be functional in the next release.
Comment #7
sinasalek commentedComment #8
sinasalek commentedComment #9
sinasalek commented@morningtime, let me now if you've used this the new 1.1 version and it works for you. i'm about to make the stable release
Comment #11
sinasalek commentedMarked
Comment #12
sinasalek commentedMarked