// Fix PSCFV-4060

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17419 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2012-09-19 14:11:24 +00:00
parent c2984b884f
commit 6c1be047c3
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')
{