[Skip to main content](#vessel-content)

#   Product Image SIze &amp; boundary box

##

- **[aisweb](/forum/user/36325-aisweb "View aisweb's Profile")**
- [![aisweb's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar36325.png)](/forum/user/36325-aisweb "View aisweb's Profile") Topic Author
- [ Offline](/forum/user/36325-aisweb)

Less More

- Posts: 42
- Thank you received: 2
-
-

6 years 4 months ago [\#321931](#321931) by [aisweb](/forum/user/36325-aisweb "View aisweb's Profile")  *[Product Image SIze &amp; boundary box](/forum/26-product-category-display/900396-product-image-size-boundary-box#321931 "-- url of the page with the problem -- :   vixenfire.com.au/index.php/hikashop-menu...le-use-resuscitators  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : FF 77.0.1 -- Error-message(debug-mod must be tuned on) -- : none  Hi, 2 questions please:  1. I have failed to resize the product image. I have tried under the Menu &gt; Hikashop &gt; Item Layout &gt; Image Height  I also tried adjusting the CSS like this:  /&#42;&#42; Product image size &#42;/ #hikashop&#95;category&#95;information&#95;menu&#95;246 .hikashop&#95;product&#95;image { height: 350px !important; }  #hikashop&#95;main&#95;image img { width: 350px !important; height: 350px !important; }  ... but no joy.  2. My client would like the Product Image to have a grey box outline, the same as the Category images do. Please see screenshots attached.  Is that possible?  Many thanks Paul")* was created by *[aisweb](/forum/user/36325-aisweb "View aisweb's Profile")*

-- url of the page with the problem -- : [ vixenfire.com.au/index.php/hikashop-menu...le-use-resuscitators](http://vixenfire.com.au/index.php/hikashop-menu/product/42-ferno-single-use-resuscitators)
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.19
-- PHP version -- : 7.3
-- Browser(s) name and version -- : FF 77.0.1
-- Error-message(debug-mod must be tuned on) -- : none

Hi, 2 questions please:

1.
I have failed to resize the product image. I have tried under the Menu &gt; Hikashop &gt; Item Layout &gt; Image Height

I also tried adjusting the CSS like this:

/** Product image size */
\#hikashop_category_information_menu_246 .hikashop_product_image {
height: 350px !important;
}

\#hikashop_main_image img {
width: 350px !important; height: 350px !important;
}

... but no joy.

2. My client would like the Product Image to have a grey box outline, the same as the Category images do. Please see screenshots attached.

[ ![category&#95;thumbs.jpg](/forum/attachment/50039) ](/forum/attachment/50039 "...ory&#95;thumbs.jpg")

[ ![Product&#95;image.jpg](/forum/attachment/50040) ](/forum/attachment/50040 "Product&#95;image.jpg")

Is that possible?

Many thanks
Paul

- [ ![category&#95;thumbs.jpg](/forum/attachment/50039) ](/forum/attachment/50039 "...ory&#95;thumbs.jpg") [ ](/forum/attachment/50039?download=1 "...ory&#95;thumbs.jpg")
- [ ![Product&#95;image.jpg](/forum/attachment/50040) ](/forum/attachment/50040 "Product&#95;image.jpg") [ ](/forum/attachment/50040?download=1 "Product&#95;image.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDAzOTYtcHJvZHVjdC1pbWFnZS1zaXplLWJvdW5kYXJ5LWJveD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

6 years 4 months ago [\#321939](#321939) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product Image SIze &amp; boundary box](/forum/26-product-category-display/900396-product-image-size-boundary-box#321939 "-- url of the page with the problem -- :   vixenfire.com.au/index.php/hikashop-menu...le-use-resuscitators  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : FF 77.0.1 -- Error-message(debug-mod must be tuned on) -- : none  Hi, 2 questions please:  1. I have failed to resize the product image. I have tried under the Menu &gt; Hikashop &gt; Item Layout &gt; Image Height  I also tried adjusting the CSS like this:  /&#42;&#42; Product image size &#42;/ #hikashop&#95;category&#95;information&#95;menu&#95;246 .hikashop&#95;product&#95;image { height: 350px !important; }  #hikashop&#95;main&#95;image img { width: 350px !important; height: 350px !important; }  ... but no joy.  2. My client would like the Product Image to have a grey box outline, the same as the Category images do. Please see screenshots attached.  Is that possible?  Many thanks Paul")*

Hi,

1. The page on your link is the details page of the product.
So the image size there is controlled by the setting "Product page image (width x height)" in your HikaShop configuration.
Right now, you must have set 0 and 800 in there.

2. The border effect on the listing is done by the bootstrap library embedded in Joomla because each element has the class "thumbnail'. So if you want the same border effect on the image of the product page, you need to add that thumbnail class to the div where you want the border.
You'll want to edit the file product / show_block_img.php via the menu Display&gt;Views of HikaShop and add that thumbnail class to one of the divs there based on where you want the border to be around the image.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDAzOTYtcHJvZHVjdC1pbWFnZS1zaXplLWJvdW5kYXJ5LWJveD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[aisweb](/forum/user/36325-aisweb "View aisweb's Profile")**
- [![aisweb's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar36325.png)](/forum/user/36325-aisweb "View aisweb's Profile") Topic Author
- [ Offline](/forum/user/36325-aisweb)

Less More

- Posts: 42
- Thank you received: 2
-
-

6 years 4 months ago [\#322087](#322087) by [aisweb](/forum/user/36325-aisweb "View aisweb's Profile")  Replied by *[aisweb](/forum/user/36325-aisweb "View aisweb's Profile")* on topic *[Product Image SIze &amp; boundary box](/forum/26-product-category-display/900396-product-image-size-boundary-box#322087 "-- url of the page with the problem -- :   vixenfire.com.au/index.php/hikashop-menu...le-use-resuscitators  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : FF 77.0.1 -- Error-message(debug-mod must be tuned on) -- : none  Hi, 2 questions please:  1. I have failed to resize the product image. I have tried under the Menu &gt; Hikashop &gt; Item Layout &gt; Image Height  I also tried adjusting the CSS like this:  /&#42;&#42; Product image size &#42;/ #hikashop&#95;category&#95;information&#95;menu&#95;246 .hikashop&#95;product&#95;image { height: 350px !important; }  #hikashop&#95;main&#95;image img { width: 350px !important; height: 350px !important; }  ... but no joy.  2. My client would like the Product Image to have a grey box outline, the same as the Category images do. Please see screenshots attached.  Is that possible?  Many thanks Paul")*

That worked out ok, thanks.

Can I force the width too? You can see it is still full width.

[ ![Product&#95;image&#95;fixed&#95;2020-07-17.jpg](/forum/attachment/50076) ](/forum/attachment/50076 "...2020-07-17.jpg")

[ ![Product&#95;image&#95;settings.jpg](/forum/attachment/50077) ](/forum/attachment/50077 "...e&#95;settings.jpg")

- [ ![Product&#95;image&#95;fixed&#95;2020-07-17.jpg](/forum/attachment/50076) ](/forum/attachment/50076 "...2020-07-17.jpg") [ ](/forum/attachment/50076?download=1 "...2020-07-17.jpg")
- [ ![Product&#95;image&#95;settings.jpg](/forum/attachment/50077) ](/forum/attachment/50077 "...e&#95;settings.jpg") [ ](/forum/attachment/50077?download=1 "...e&#95;settings.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDAzOTYtcHJvZHVjdC1pbWFnZS1zaXplLWJvdW5kYXJ5LWJveD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

6 years 4 months ago [\#322090](#322090) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product Image SIze &amp; boundary box](/forum/26-product-category-display/900396-product-image-size-boundary-box#322090 "-- url of the page with the problem -- :   vixenfire.com.au/index.php/hikashop-menu...le-use-resuscitators  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : FF 77.0.1 -- Error-message(debug-mod must be tuned on) -- : none  Hi, 2 questions please:  1. I have failed to resize the product image. I have tried under the Menu &gt; Hikashop &gt; Item Layout &gt; Image Height  I also tried adjusting the CSS like this:  /&#42;&#42; Product image size &#42;/ #hikashop&#95;category&#95;information&#95;menu&#95;246 .hikashop&#95;product&#95;image { height: 350px !important; }  #hikashop&#95;main&#95;image img { width: 350px !important; height: 350px !important; }  ... but no joy.  2. My client would like the Product Image to have a grey box outline, the same as the Category images do. Please see screenshots attached.  Is that possible?  Many thanks Paul")*

Hi,

Sure, you can add such CSS for that : Code:

.hikashop_subcontainer.thumbnail { width: fit-content !important; }

[ www.hikashop.com/support/documentation/1...ize-the-display.html](https://www.hikashop.com/support/documentation/153-customize-the-display.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDAzOTYtcHJvZHVjdC1pbWFnZS1zaXplLWJvdW5kYXJ5LWJveD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.060 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
