- Posts: 1
- Thank you received: 0
product image pop up remove and image pixelated
11 years 9 months ago - 11 years 9 months ago #183137
by jeulo
product image pop up remove and image pixelated was created by jeulo
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.29
-- Browser(s) name and version -- : chrome
hello
our client wants to remove the pop up image when click to device and browser in viewing image..
also the image when uploaded its pixelated, can anyone help me please its very urgent...
Thanks,,
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.29
-- Browser(s) name and version -- : chrome
hello
our client wants to remove the pop up image when click to device and browser in viewing image..
also the image when uploaded its pixelated, can anyone help me please its very urgent...
Thanks,,
Last edit: 11 years 9 months ago by Jerome. Reason: formating
Please Log in or Create an account to join the conversation.
11 years 9 months ago #183169
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic product image pop up remove and image pixelated
Hi,
1/ To do so you have to override the product page view in order to remove the code which display the popup.
If you do not know how to perform a view override, we have a documentation page which talk about it :
www.hikashop.com/support/support/documen...ize-the-display.html
To remove the image popup, you have to override the view "show_block_img" and remove the code which create the popup.
and replace it by
You can do the same for the thumbnails.
into
Regards,
1/ To do so you have to override the product page view in order to remove the code which display the popup.
If you do not know how to perform a view override, we have a documentation page which talk about it :
www.hikashop.com/support/support/documen...ize-the-display.html
To remove the image popup, you have to override the view "show_block_img" and remove the code which create the popup.
Code:
echo $this->popup->image($html, $img->origin_url, null, $attr);
Code:
echo $html;
You can do the same for the thumbnails.
Code:
if(empty($variant_name)) {
echo $this->popup->image($html, $img->origin_url, $id, $attr, array('gallery' => 'hikashop_main_image'));
} else {
echo $this->popup->image($html, $img->origin_url, $id, $attr, array('gallery' => 'hikashop_main_image_VARIANT_NAME'));
}
Code:
echo $html;
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.184 seconds