- Posts: 11
- Thank you received: 0
Change background color of product preview images
11 years 11 months ago #174707
by mcasner
Change background color of product preview images was created by mcasner
-- HikaShop version -- : HikaShop [1407241754]
-- Joomla version -- : 3.2.3
I'm trying to figure out why some of my product images have a black background... I've checked the product category's settings and they all appear to be white (FFFFFF).
www.ifapray.org/A1/index.php/store/all-merchandise
-- Joomla version -- : 3.2.3
I'm trying to figure out why some of my product images have a black background... I've checked the product category's settings and they all appear to be white (FFFFFF).
www.ifapray.org/A1/index.php/store/all-merchandise
Please Log in or Create an account to join the conversation.
11 years 11 months ago #174743
by Xavier
Replied by Xavier on topic Change background color of product preview images
Hi,
Don't you have added something like:
In the image options array of your "product / listing_img_title" view ?
If it is, you can remove this part, or set it to "#FFFFFF".
If not, please try to replace:
Don't you have added something like:
Code:
,'background' => '#000000'
If it is, you can remove this part, or set it to "#FFFFFF".
If not, please try to replace:
Code:
$image_options = array('default' => true,'forcesize'=>$this->config->get('image_force_size',true),'scale'=>$this->config->get('image_scale_mode','inside'));
// By
$image_options = array('default' => true,'forcesize'=>$this->config->get('image_force_size',true),'scale'=>$this->config->get('image_scale_mode','inside'),'background' => '#000000');
Please Log in or Create an account to join the conversation.
11 years 11 months ago #174871
by mcasner
Replied by mcasner on topic Change background color of product preview images
How do I change that setting for the image? Is it in the component interface or in CSS?
Please Log in or Create an account to join the conversation.
11 years 11 months ago #174884
by nicolas
Replied by nicolas on topic Change background color of product preview images
What Xavier explained can be done via the menu Display>Views of HikaShop. Search for the file "listing_img_title" of the view "product"
Please Log in or Create an account to join the conversation.
Time to create page: 0.222 seconds