diff --git a/include/simpleplugin/class_attribute.inc b/include/simpleplugin/class_attribute.inc
index ec9329891d4380de3f6088b44808b04009c0c0c8..ca1e478b18e13e4cd6c1f0e730badab14940ac6b 100644
--- a/include/simpleplugin/class_attribute.inc
+++ b/include/simpleplugin/class_attribute.inc
@@ -1738,6 +1738,7 @@ class ImageAttribute extends FileAttribute
    */
   function loadPostValue ()
   {
+    $this->postValue = $this->value;
     if (isset($_POST['upload'.$this->getHtmlId()])) {
       parent::loadPostValue();
     }