// Fix PSCFV-4060

This commit is contained in:
rGaillard
2012-09-19 14:11:24 +00:00
parent e810ae46d2
commit 0ef57ee71a
2 changed files with 6 additions and 2 deletions
@@ -976,6 +976,10 @@ class WebserviceSpecificManagementImagesCore implements WebserviceSpecificManage
}
@unlink($tmpName);
$this->imgToDisplay = _PS_PROD_IMG_DIR_.$image->getExistingImgPath().'.'.$image->image_format;
$this->objOutput->setFieldsToDisplay('full');
$this->output = $this->objOutput->renderEntity($image, 1);
$image_content = array('sqlId' => 'content', 'value' => file_get_contents($this->imgToDisplay));
$this->output .= $this->objOutput->objectRender->renderField($image_content);
}
elseif ($this->imageType == 'categories')
{