Re: Collage image dimensions

How can I maintain natural dimensions in collage images without cropping?

JoshuaFox
Tourist
13 0 3

My Collage images are being forced into preset dimensions. This is causing my left image to crop off the sides and it's becoming a massive portrait oriented image. I'd like for the left image to reflect more natural dimensions without cropping out my photos. 

 

https://ad5dfd-2.myshopify.com/

Replies 8 (8)

JoshuaFox
Tourist
13 0 3

I'm hoping the image can have slightly less height than a perfect square. More of a landscape orientation. 

Taknify
Shopify Partner
203 14 26

The size of your image isn't exactly working out. Trying experimenting with different sizes as 500px * 500px, 1000px * 1000px until you reach a sweet spot you like. I tried adjusting the size (reducing the height of it) but not sure exactly how you would like that. 
Screenshot 2023-09-11 at 3.01.08 PM.png

Need to tweak your store a bit? Come and visit us at Taknify or send me message.
JoshuaFox
Tourist
13 0 3

Thanks for the reply. 

 

So the size of the image doesn't seem to affect the size of the collection frame. It seems to be coded somewhere, either in themes.liquid, base.css, or collages.css to make the first row equal to double the third row. So no matter what sized image I use, it magnifies it to fill the frame, and crops the rest. 

 

Taknify
Shopify Partner
203 14 26

Unfortunately that is how the section is designed to make the height of the first column (i.e the image) to be the same height as the 2nd column. 
If you like a different section, I would recommend to go other route. Or you can create a two column image section where both the image heights will be equal no matter what. 

Need to tweak your store a bit? Come and visit us at Taknify or send me message.
JoshuaFox
Tourist
13 0 3

I already fixed it in the code. Thanks.

Taknify
Shopify Partner
203 14 26

You are awesome. Nice. 

Need to tweak your store a bit? Come and visit us at Taknify or send me message.
iShinigami
Visitor
1 0 0

Hey JoshuaFox,

i have the same problem! 
May i ask what you changed in the code so it works fine and looks nice? 🙂

Thanks!

Taknify
Shopify Partner
203 14 26

Each store might have a different instance of code, and only basic sections. I recommend you to get an app that have many theme sections code that you can choose from or your second option is you hire devs like us who can exactly code the website like how you want. Finnaly, you can also provide some screenshots so community can help out. 

Need to tweak your store a bit? Come and visit us at Taknify or send me message.