Not sure if my question explains this well.
I have a website and need to display all of my images in a gallery. The problem that is that I have 2 types of image sizes which are consistent.
1) - 1200 x 1800 px 2) - 1200 x 800 px
I want my gallery to look similar to this:
And when you click the image they open up as their full size. I can do this part and make them open as full size, but my problem is trying to get these two different size images look right in the box layout.
When using 1 size I could make them a fixed width and height and then just hide the overlay to make them all square shaped. However when i introduced the other image size into the mix , images begin to look stretched.
Does anyone know how I can achieve this using either pure CSS or Javascript/jQuery?