-- url of the page with the problem -- :
www.mybodygraph.com
-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.5.33
I'm trying to get a image from a Ajax Image custom field. I did't find any documentation on this so I copied the code from show_block_img but I don't get it to work.
the file I'm working in is product/show_default.php, the image that gets displayed is from something totally different and it simply seem to ignore the path and filename, can you guys guide me how to do this in a correct way? Here is the code I'm using right now:
$variant_name = '';
$variant_main = '_main';
$height = (int)$this->config->get('product_image_y');
$width = (int)$this->config->get('product_image_x');
echo $this->image->display('/media/com_hikashop/upload/safe/', true, $this->element->product_display,'id="hikashop_main_image'.$variant_name.'" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle"','id="hikashop_main_image_link"', $width, $height);