When resizing my browser window to the point where it activates the loading of a new image through Client Side Adaptive Image, the image shows up as a block of white. Not sure if this is an impossible compatibility. Client-side adaptive image is really great for responsive design so I hope these can work together at some point.

http://drupal.org/project/cs_adaptive_image

Comments

Bensbury’s picture

I just found this out, that if your scripts are being loaded into the footer, they will load before the lazy loader initiation script.

You either need to load your scripts into the header or change in the mod where lazyloader injects the js (page_bottom).

Or move your page bottom region below the scripts.

Not sure why it prints the js into the body and doesn't use drupal_add_js though.

betovarg’s picture

I have all the scripts in the head, and I get this error a lot of times for a single page load:

Notice: Undefined index: class in lazyloader_image() (line 132 of /srv/bindings/4597da34365c4cb9b8ae902a2058c481/code/sites/all/modules/lazyloader/lazyloader.module).

The images load with the lazyloader, but there seem to be some bugs:

  1. The loading icon keeps showing, even when I have set none in the configuration of the lazyloader.
  2. When the window is resized, the new image is not being loaded.
designarti’s picture

Issue summary: View changes

Any ideas about this issue? Looks like a general problem, with noscript and lazyloader. Ive tried a number of lazy loader modules to fo with CS Adaptive Images with no results. Doesnt work.

legolasbo’s picture

Is this still an issue with the latest dev? If so, please provide steps to reproduce.

legolasbo’s picture

Status: Active » Postponed (maintainer needs more info)
legolasbo’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing this issue due to lack of response to my request for information. Please reopen the issue if this is still a problem and post steps to reproduce the issue.