diff --git js/imagebrowser.js js/imagebrowser.js
index 942e638..7233c38 100644
--- js/imagebrowser.js
+++ js/imagebrowser.js
@@ -112,4 +112,13 @@ Drupal.behaviors.imagebrowser = function(context) {
       });
     }, 2000);
   }
-}
\ No newline at end of file
+}
+
+/* Set correct action for the exposed forms. */
+$(document).ready(function() {
+  $('form').each(function() {
+    if(this.id.match(/^views-exposed/i)) {
+      $('#'+this.id).attr('action',Drupal.settings.basePath + 'imagebrowser/ib_wysiwyg');
+    }
+  }); 
+});
\ No newline at end of file
