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

sinasalek’s picture

Thanks for reminding me. It's already fixed in Dev.
I'll release 1.2 soon

sinasalek’s picture

Title: 404 Page not found for grey.gif » fixing the issue with not working on any other page except front page
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

sinasalek’s picture

Issue tags: +6.x-1.2 Roadmap

Marked