diff --git a/jail.admin.inc b/jail.admin.inc
index 681f3d9..d54a8e4 100644
--- a/jail.admin.inc
+++ b/jail.admin.inc
@@ -33,6 +33,13 @@ function jail_admin_settings() {
     '#description' => t('Path to loader image.'),
     '#default_value' => variable_get('jail_loader', drupal_get_path('module', 'jail') . '/white.gif'),
   );
+
+  $form['jail_offset'] = array(
+    '#type' => 'textfield',
+    '#title' => t('Offset'),
+    '#description' => t('A pixel offset below or above the browser window to start loading images.'),
+    '#default_value' => variable_get('jail_offset', 0),
+  );
   $form['jail_effect'] = array(
     '#type' => 'select',
     '#title' => t('User picture effect'),
diff --git a/jail.install b/jail.install
index 67db252..9e9e2f9 100644
--- a/jail.install
+++ b/jail.install
@@ -11,6 +11,7 @@
 function jail_uninstall() {
   variable_del('jail_effect');
   variable_del('jail_loader');
+  variable_del('jail_offset');
   variable_del('jail_noscript');
   variable_del('jail_place');
   variable_del('jail_users');
diff --git a/jail.module b/jail.module
index b8781de..7daa1f8 100644
--- a/jail.module
+++ b/jail.module
@@ -211,6 +211,10 @@ function theme_jail_formatter($variables) {
     $options['jail_effect'] = 'effect : "' . $variables['jail_effect'] . '"';
   }
 
+  if (variable_get('jail_offset', 0)) {
+    $options['jail_offset'] = 'offset : "' . variable_get('jail_offset', 0) . '"';
+  }
+
   $js_options = '';
   if ($options) {
     $js_options = '{' . implode(', ', $options) . '}';
