diff --git a/jail.admin.inc b/jail.admin.inc
index d54a8e4..feefa63 100644
--- a/jail.admin.inc
+++ b/jail.admin.inc
@@ -40,6 +40,24 @@ function jail_admin_settings() {
     '#description' => t('A pixel offset below or above the browser window to start loading images.'),
     '#default_value' => variable_get('jail_offset', 0),
   );
+
+  $form['jail_event'] = array(
+    '#type' => 'select',
+    '#title' => t('Event'),
+    '#description' => t('The event on which to load images.'),
+    '#options' => array(
+      'load+scroll' => 'load+scroll',
+      'load' => 'load',
+      'scroll' => 'scroll',
+    ),
+    '#default_value' => variable_get('jail_event', 'load+scroll'),
+  );
+  $form['jail_timeout'] = array(
+    '#type' => 'textfield',
+    '#title' => t('Timeout'),
+    '#description' => t('Delay before loading images, used for "load" event'),
+    '#default_value' => variable_get('jail_timeout', 0),
+  );
   $form['jail_effect'] = array(
     '#type' => 'select',
     '#title' => t('User picture effect'),
diff --git a/jail.module b/jail.module
index 60e1f0f..7f6d7d7 100644
--- a/jail.module
+++ b/jail.module
@@ -215,6 +215,13 @@ function theme_jail_formatter($variables) {
     $options['jail_offset'] = 'offset : "' . variable_get('jail_offset', 0) . '"';
   }
 
+  if (variable_get('jail_event', 'load+scroll')) {
+    $options['jail_event'] = 'event : "' . variable_get('jail_event', 'load+scroll') . '"';
+  }
+  if (variable_get('jail_timeout', 0)) {
+    $options['jail_timeout'] = 'timeout : "' . variable_get('jail_timeout', 0) . '"';
+  }
+
   $js_options = '';
   if ($options) {
     $js_options = '{' . implode(', ', $options) . '}';
