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

#   presentation of images in product list

##

- **[GregC](/forum/user/56313-gregc "View GregC's Profile")**
- [![GregC's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/56313-gregc "View GregC's Profile") Topic Author
- [ Offline](/forum/user/56313-gregc)

Less More

- Posts: 11
- Thank you received: 0
-
-

8 years 7 months ago -  8 years 7 months ago [\#290835](#290835) by [GregC](/forum/user/56313-gregc "View GregC's Profile")  *[presentation of images in product list](/forum/26-product-category-display/894353-presentation-of-images-in-product-list#290835 "Hi, Is it possible to display images of products in the way as presented below?  when I setup System – Configuration – Images options “image scale mode: keep ratio” and “force image size: yes” I get presentation as presented below - images are well resized but they are presented in the “boxes” so there is a lot of space between horizontal and vertical images  Regards, Greg")* was created by *[GregC](/forum/user/56313-gregc "View GregC's Profile")*

Hi, Is it possible to display images of products in the way as presented below?

[ ![1&#95;2018-04-04.png](/forum/attachment/43271) ](/forum/attachment/43271 "1&#95;2018-04-04.png")

when I setup System – Configuration – Images options “image scale mode: keep ratio” and “force image size: yes”
I get presentation as presented below - images are well resized but they are presented in the “boxes” so there is a lot of space between horizontal and vertical images

[ ![2&#95;2018-04-04-3.png](/forum/attachment/43270) ](/forum/attachment/43270 "...18-04-04-3.png")

Regards,
Greg

- [ ![2&#95;2018-04-04-3.png](/forum/attachment/43270) ](/forum/attachment/43270 "...18-04-04-3.png") [ ](/forum/attachment/43270?download=1 "...18-04-04-3.png")
- [ ![1&#95;2018-04-04.png](/forum/attachment/43271) ](/forum/attachment/43271 "1&#95;2018-04-04.png") [ ](/forum/attachment/43271?download=1 "1&#95;2018-04-04.png")

Last edit: 8 years 7 months ago by [GregC](/forum/user/56313-gregc "View GregC's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTQzNTMtcHJlc2VudGF0aW9uLW9mLWltYWdlcy1pbi1wcm9kdWN0LWxpc3Q/dG1wbD1tYXJrZG93bg==) 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
-
-

8 years 7 months ago [\#290855](#290855) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[presentation of images in product list](/forum/26-product-category-display/894353-presentation-of-images-in-product-list#290855 "Hi, Is it possible to display images of products in the way as presented below?  when I setup System – Configuration – Images options “image scale mode: keep ratio” and “force image size: yes” I get presentation as presented below - images are well resized but they are presented in the “boxes” so there is a lot of space between horizontal and vertical images  Regards, Greg")*

Hi,

First you want to turn off the "force size" setting and you want to specify a height but no width in the thumbnails size setting of your menu item.
That way, each image will have the same height, but it width will vary based on the ratio of the image, like you need them to be.
However, each row will still have the same number of products. To change that, you'll have to add custom CSS in order to have them arrange dynamically like you need them.
With the appropriate custom CSS, you should be able to do what you have in your first screenshot.
However, with just the options, it's not possible.

The following user(s) said Thank You: [GregC](/forum/user/56313-gregc "View GregC's Profile")

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

- **[GregC](/forum/user/56313-gregc "View GregC's Profile")**
- [![GregC's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/56313-gregc "View GregC's Profile") Topic Author
- [ Offline](/forum/user/56313-gregc)

Less More

- Posts: 11
- Thank you received: 0
-
-

8 years 7 months ago [\#290868](#290868) by [GregC](/forum/user/56313-gregc "View GregC's Profile")  Replied by *[GregC](/forum/user/56313-gregc "View GregC's Profile")* on topic *[presentation of images in product list](/forum/26-product-category-display/894353-presentation-of-images-in-product-list#290868 "Hi, Is it possible to display images of products in the way as presented below?  when I setup System – Configuration – Images options “image scale mode: keep ratio” and “force image size: yes” I get presentation as presented below - images are well resized but they are presented in the “boxes” so there is a lot of space between horizontal and vertical images  Regards, Greg")*

Hi Nicolas, thank you for your feedback !
could you indicate how this change in CSS should look like ? I know it's a big expectation, but it's worth asking ![:)](/media/kunena/emoticons/3.png ":)")

Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTQzNTMtcHJlc2VudGF0aW9uLW9mLWltYWdlcy1pbi1wcm9kdWN0LWxpc3Q/dG1wbD1tYXJrZG93bg==) 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
-
-

8 years 7 months ago [\#290870](#290870) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[presentation of images in product list](/forum/26-product-category-display/894353-presentation-of-images-in-product-list#290870 "Hi, Is it possible to display images of products in the way as presented below?  when I setup System – Configuration – Images options “image scale mode: keep ratio” and “force image size: yes” I get presentation as presented below - images are well resized but they are presented in the “boxes” so there is a lot of space between horizontal and vertical images  Regards, Greg")*

Hi,

Well, I don't know excatly. It would require some proper testing. A web designer knowing well CSS will probably spend one or even several hours to be able to write the proper CSS while testing things out.
It's not just one or two simple lines I could provide off the top of my head.

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

- **[GregC](/forum/user/56313-gregc "View GregC's Profile")**
- [![GregC's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/56313-gregc "View GregC's Profile") Topic Author
- [ Offline](/forum/user/56313-gregc)

Less More

- Posts: 11
- Thank you received: 0
-
-

8 years 7 months ago [\#290915](#290915) by [GregC](/forum/user/56313-gregc "View GregC's Profile")  Replied by *[GregC](/forum/user/56313-gregc "View GregC's Profile")* on topic *[presentation of images in product list](/forum/26-product-category-display/894353-presentation-of-images-in-product-list#290915 "Hi, Is it possible to display images of products in the way as presented below?  when I setup System – Configuration – Images options “image scale mode: keep ratio” and “force image size: yes” I get presentation as presented below - images are well resized but they are presented in the “boxes” so there is a lot of space between horizontal and vertical images  Regards, Greg")*

Hi Nicolas, understood, thank you for the information
Regards,
Greg

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

- **[GregC](/forum/user/56313-gregc "View GregC's Profile")**
- [![GregC's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/56313-gregc "View GregC's Profile") Topic Author
- [ Offline](/forum/user/56313-gregc)

Less More

- Posts: 11
- Thank you received: 0
-
-

8 years 7 months ago [\#291063](#291063) by [GregC](/forum/user/56313-gregc "View GregC's Profile")  Replied by *[GregC](/forum/user/56313-gregc "View GregC's Profile")* on topic *[presentation of images in product list](/forum/26-product-category-display/894353-presentation-of-images-in-product-list#291063 "Hi, Is it possible to display images of products in the way as presented below?  when I setup System – Configuration – Images options “image scale mode: keep ratio” and “force image size: yes” I get presentation as presented below - images are well resized but they are presented in the “boxes” so there is a lot of space between horizontal and vertical images  Regards, Greg")*

Hi, Once again thank you for your response but I would like to back to my topic with additional question – Is it possible to use for display of images in product list solution based on [ masonry.desandro.com/](https://masonry.desandro.com/) ?

Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTQzNTMtcHJlc2VudGF0aW9uLW9mLWltYWdlcy1pbi1wcm9kdWN0LWxpc3Q/dG1wbD1tYXJrZG93bg==) 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
-
-

8 years 7 months ago [\#291081](#291081) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[presentation of images in product list](/forum/26-product-category-display/894353-presentation-of-images-in-product-list#291081 "Hi, Is it possible to display images of products in the way as presented below?  when I setup System – Configuration – Images options “image scale mode: keep ratio” and “force image size: yes” I get presentation as presented below - images are well resized but they are presented in the “boxes” so there is a lot of space between horizontal and vertical images  Regards, Greg")*

Hi,

You could but it will be more complex as you'll have to rewrite PHP, add the javascript library and integrate it to the page, and maybe tweak the CSS to adapt that library default display to your needs.
So I would still recommend to go with just the CSS customizations like I was saying before.

The following user(s) said Thank You: [GregC](/forum/user/56313-gregc "View GregC's Profile")

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

- **[GregC](/forum/user/56313-gregc "View GregC's Profile")**
- [![GregC's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/56313-gregc "View GregC's Profile") Topic Author
- [ Offline](/forum/user/56313-gregc)

Less More

- Posts: 11
- Thank you received: 0
-
-

8 years 7 months ago [\#291149](#291149) by [GregC](/forum/user/56313-gregc "View GregC's Profile")  Replied by *[GregC](/forum/user/56313-gregc "View GregC's Profile")* on topic *[presentation of images in product list](/forum/26-product-category-display/894353-presentation-of-images-in-product-list#291149 "Hi, Is it possible to display images of products in the way as presented below?  when I setup System – Configuration – Images options “image scale mode: keep ratio” and “force image size: yes” I get presentation as presented below - images are well resized but they are presented in the “boxes” so there is a lot of space between horizontal and vertical images  Regards, Greg")*

Hi, ok, thank you for your suggestions
Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTQzNTMtcHJlc2VudGF0aW9uLW9mLWltYWdlcy1pbi1wcm9kdWN0LWxpc3Q/dG1wbD1tYXJrZG93bg==) 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.085 seconds

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