diff --git a/jipi.js b/jipi.js
index 19315a0..87a77d2 100644
--- a/jipi.js
+++ b/jipi.js
@@ -1,7 +1,24 @@
 (function ($) {
-  Drupal.behaviors.jipi = {
-    attach: function (context) {
-      $('.form-type-imagepicker select', context).imagepicker();
-    }
-  };
+    Drupal.behaviors.jipi = {
+        attach: function (context) {
+            $('.form-type-imagepicker select', context).once('init-imagepicker', function () {
+                var imagepickerParams = [];
+                var imagepickerAvailableParams = [
+                    'hide_select',
+                    'show_label',
+                    'limit'
+                ];
+
+                // imagepicker params are extracted from data attributes
+                for(var key in imagepickerAvailableParams){
+                    var paramKey = imagepickerAvailableParams[key];
+                    if (typeof $(this).attr('data-'+paramKey) != 'undefined') {
+                        imagepickerParams[paramKey] = $(this).attr('data-'+paramKey);
+                    }
+                }
+
+                $(this).imagepicker(imagepickerParams);
+            });
+        }
+    };
 }(jQuery));
diff --git a/jipi.module b/jipi.module
index 1884395..2fdf917 100644
--- a/jipi.module
+++ b/jipi.module
@@ -9,9 +9,11 @@ function jipi_element_info() {
 
     // Defaults
     '#multiple' => FALSE,
-    //'#data-hide_select' => TRUE,
-    //'#data-show_label' => FALSE,
-    //'#data-limit' => NULL,
+
+    // Image picker options
+    '#data-hide_select' => TRUE,
+    '#data-show_label' => FALSE,
+    '#data-limit' => NULL,
 
     // Process & theme-related.
     '#process' => array('form_process_select', 'ajax_process_form'),
@@ -74,7 +76,10 @@ function jipi_theme() {
  */
 function theme_imagepicker($variables) {
   $element = $variables['element'];
-  element_set_attributes($element, array('id', 'name', 'size', 'data-limit'));
+  // Default attributes
+  element_set_attributes($element, array('id', 'name', 'size'));
+  // Image picker options
+  element_set_attributes($element, array('data-hide_select', 'data-show_label', 'data-limit'));
   _form_set_class($element, array('form-select'));
 
   return '<select' . drupal_attributes($element['#attributes']) . '>' . jipi_select_options($element) . '</select>';
