function getBase64Encoded() { $image = IOHelper::getFileContents($this->path); return base64_encode($image); }