Is it possible to increase the image like zooming the image

Solved

Is it possible to increase the image like zooming the image

abailea077
Excursionist
44 0 16

Hello there!

 

Like it says in the question, my product images appear small on the featured collection grids. You can see it on the image.

 

Is it possible to zoom in the image so we can see it bigger on the grid so it can fill up more of the remaining space?

Here is the URL:

https://toroeatstreats.com/collections/all

If you need a password enter: brayden


Question 8.jpg

Accepted Solution (1)

tim
Shopify Partner
4017 425 1484

This is an accepted solution.

As @Sangeetanahar pointed out, there is too much "air" in your images.

Ideally, you should crop them tighter and re-upload.
Or, use an app to crop them in place, like Hextom: Bulk Image Edit & SEO which can do it in bulk.

 

However, it this is really not an option, you can add this code to either Theme Settings=> Custom CSS, or Custom CSS setting of relevant section(s):

 

.product-item__image > img.image__img {
  width: 150%;
  max-width: 150%;
  transform: translateX(-16.66%);
  aspect-ratio: 1;
}

 

This will make your product grid images 1.5 larger.

Not really recommended though. Only as temporary measure.

 

Screenshots before/after 

Screenshot 2024-08-28 at 3.41.28 PM.png Screenshot 2024-08-28 at 3.41.19 PM.png

If my post is helpful, consider liking it -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com

View solution in original post

Replies 4 (4)

tim
Shopify Partner
4017 425 1484

This is an accepted solution.

As @Sangeetanahar pointed out, there is too much "air" in your images.

Ideally, you should crop them tighter and re-upload.
Or, use an app to crop them in place, like Hextom: Bulk Image Edit & SEO which can do it in bulk.

 

However, it this is really not an option, you can add this code to either Theme Settings=> Custom CSS, or Custom CSS setting of relevant section(s):

 

.product-item__image > img.image__img {
  width: 150%;
  max-width: 150%;
  transform: translateX(-16.66%);
  aspect-ratio: 1;
}

 

This will make your product grid images 1.5 larger.

Not really recommended though. Only as temporary measure.

 

Screenshots before/after 

Screenshot 2024-08-28 at 3.41.28 PM.png Screenshot 2024-08-28 at 3.41.19 PM.png

If my post is helpful, consider liking it -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com
tim
Shopify Partner
4017 425 1484

comment: 

  transform: scale(1.3); suggested below will make your images fuzzy, my code would not.

If my post is helpful, consider liking it -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com
abailea077
Excursionist
44 0 16

Thank you! I will crop them tighter and re-upload! This is very usefull!

Dan-From-Ryviu
Shopify Partner
11399 2237 2410

Hi @abailea077 

You can add this code to Custom CSS in Online Store > Themes > Customize > Theme settings reduce the space of your images

.product-item__image-link img { 
    aspect-ratio: 1 / 1 !important; 
    transform: scale(1.3);
}

Screenshot 2024-08-28 at 15.07.13.png

- Found this helpful? Hit "Like" and "Accept as Solution"!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify

Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.