Jump to content

Using Multiple Aspect Ratios in a Single Gallery?

Recommended Posts

Hello all,

I am building a photography portfolio site and would like to use multiple aspect ratios of for different photos on the same gallery page. The majority of the photos so far are in 2:3 (portrait) and I would like to add one landscape 4:3 photo into a row while maintaining constant spacing between photos. I attached a little sketch to show what I have in mind. I'm assuming this would require some CSS script and I know nothing about that. Does anyone happen to have done anything similar that they wouldn't mind sharing?

Also I know the 4:3 photo won't *technically* be 4:3, I just haven't figured out exactly what it will need to be to fit, yet.

Thanks in advance,

Ian

Edit: I found an easy workaround to the point where I don't need any script, I just inserted a new section to the gallery page and used the "strips" gallery type, and only used two images. This created exactly the desired effect for anyone else that has this issue.

Untitled_Artwork.jpg

Edited by ianmcdermot1
Found solution.
Link to comment
13 hours ago, ianmcdermot1 said:

Hello all,

I am building a photography portfolio site and would like to use multiple aspect ratios of for different photos on the same gallery page. The majority of the photos so far are in 2:3 (portrait) and I would like to add one landscape 4:3 photo into a row while maintaining constant spacing between photos. I attached a little sketch to show what I have in mind. I'm assuming this would require some CSS script and I know nothing about that. Does anyone happen to have done anything similar that they wouldn't mind sharing?

Also I know the 4:3 photo won't *technically* be 4:3, I just haven't figured out exactly what it will need to be to fit, yet.

Thanks in advance,

Ian

Edit: I found an easy workaround to the point where I don't need any script, I just inserted a new section to the gallery page and used the "strips" gallery type, and only used two images. This created exactly the desired effect for anyone else that has this issue.

Untitled_Artwork.jpg

As you edit, this should work

image.thumb.png.a530cd7cf720667cef376742124b5adb.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.