Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi guys,
I check the module carefully and it seems to be very useful.
However, I was unable to find a proper Drupal 7 version so far.
I checked the 7.x-1.x branch, but it doesn't seem to work.... it seems to be a simple copy of the Drupal 6 branch
Comment | File | Size | Author |
---|---|---|---|
lazy_image_loader-Port_module_to_Drupal_7.patch | 17.24 KB | xiukun.zhou |
Comments
Comment #0.0
xiukun.zhou CreditAttribution: xiukun.zhou commentedthen in #1 update and add the patch
Comment #1
sinasalek CreditAttribution: sinasalek commentedThanks but are you sure? people are using 7.x-1.0-beta1, have you tried it?
Comment #2
xiukun.zhou CreditAttribution: xiukun.zhou commented7.x-1.0-beta1 = 7.x-1.x-dev, Unable work to me, code is still very old(drupal 6). my drupal is 7.23-dev
the code in lazy_image_loader-7.x-1.0-beta1, see drupal_add_js():
Comment #3
sinasalek CreditAttribution: sinasalek commentedI'll consider your patch, i see that it includes some coding standards as well. tx
The patch need a bit of a cleanup : "No newline at end of file" , there are some empty lines as well
Comment #4
xiukun.zhou CreditAttribution: xiukun.zhou commentedOK, thanks sinasalek.
lazy_image_loader/lazy_image_loader.info
core = 6.x
to
core = 7.x
and add hook_library();
_lazy_image_loader_page_match() function rebuild form block configure page
Comment #4.0
xiukun.zhou CreditAttribution: xiukun.zhou commentedUpdate
Comment #5
Dandily CreditAttribution: Dandily commentedI apply this patch and everything is looking ok, but just looking. With using HTTPFox for Firefox i can see, that all images are loading on the page opening and after scroll they just showing with selected in settings effect.
I cant see no errors anywhere, what can it be?
Its the best module, because you dont need to change images, module can take any.
Comment #6
sinasalek CreditAttribution: sinasalek commentedThe patch will be committed if someone other the write make it RTBC