diff --git a/cs_adaptive_image.js b/cs_adaptive_image.js
index 347a7a6..d947eb0 100644
--- a/cs_adaptive_image.js
+++ b/cs_adaptive_image.js
@@ -33,6 +33,7 @@
       $('noscript.adaptive-image').once('adaptive-image', function() {
         var img = getAdaptedImage(this);
         $(this).after(img);
+        Drupal.attachBehaviors(img);
       });
 
       // Replace adapted images on window resize.
@@ -43,6 +44,7 @@
           var img = getAdaptedImage(this, excluded_breakpoint);
           if (img) {
             $(this).next('img.adaptive-image').replaceWith(img);
+            Drupal.attachBehaviors(img);
           }
         });
       });
