diff --git a/plugins/ktcore/KTWidgets.php b/plugins/ktcore/KTWidgets.php
index 99890d7..d351f73 100755
--- a/plugins/ktcore/KTWidgets.php
+++ b/plugins/ktcore/KTWidgets.php
@@ -1113,6 +1113,8 @@ class KTCoreImageWidget extends KTWidget {
$this->aOptions['height'] = KTUtil::arrayGet($aOptions, 'height', '');
$this->aOptions['has_width'] = ($this->aOptions['height'] !== null);
$this->aOptions['has_height'] = ($this->aOptions['height'] !== null);
+ $this->aOptions['div_border'] = KTUtil::arrayGet($aOptions, 'div_border', '');
+ $this->aOptions['has_div_border'] = ($this->aOptions['div_border'] !== null);
}
diff --git a/templates/ktcore/forms/widgets/image.smarty b/templates/ktcore/forms/widgets/image.smarty
index df3b354..cc35204 100755
--- a/templates/ktcore/forms/widgets/image.smarty
+++ b/templates/ktcore/forms/widgets/image.smarty
@@ -1 +1,29 @@
-
+{if $options.has_div_border}
+
+