I was experiencing a number of 404's with the default grey.gif image. The offending path would often be something like:
http://example.com/node/sites/all/modules/lazy_image_loader/images/grey.gif
or
http://example.com/admin/sites/all/modules/lazy_image_loader/images/grey...
instead of simply
http://example.com/sites/all/modules/lazy_image_loader/images/grey.gif
I think Line 77 needs to be a little more definitive/absolute in the path it ascribes, otherwise it appears to append the module path onto the current parent directory to produce an incorrect path. Changing
$path = drupal_get_path('module', 'lazy_image_loading');
to
$path = base_path() . drupal_get_path('module', 'lazy_image_loading');
seemed to clear it up on my end.
Comments
Comment #1
sinasalek CreditAttribution: sinasalek commentedThanks for reminding me. It's already fixed in Dev.
I'll release 1.2 soon
Comment #2
sinasalek CreditAttribution: sinasalek commentedComment #4
sinasalek CreditAttribution: sinasalek commentedMarked