/**
  * Sets the value of this field from the database format.
  * @param mixed $value
  */
 public function setFromDB($value)
 {
     parent::setFromDB($value);
     if (is_resource($this->image_rsrc)) {
         imagedestroy($this->image_rsrc);
         $this->createImageResource();
     }
 }