I am trying to display 3 pictures with an aspect ratio of 3:2 , 2:3 and 3:2 again in such a way that all three pictures are the same height and no cropping occurs. I have tried many different settings and gallery types but the width always stays the same no mater what. Even when using the visual composer and adding 1 image per element does not provide me with the desired results.
Is there a way to have these images displayed as I want?
This is the result I’m after:
Which Gallery are you using? This is achievable with the Grid Gallery. If it’s the Full Screen Gallery you can use this method : http://themeva.com/docs/epix/fit-height-and-width-on-images/
If it’s the Carousel, I’m working on this currently and if you post your WP login details, I’ll apply the changes for you.
Thank you for your quick reply. I am using the grid gallery with a slide set of 3 pictures and a 3 column layout.
The result is as you can see in the example picture (top).
When setting all pictures to the same height the result is the bottom layout.
How can I get the result I want?
You should be able to just set the image width ( do not set a height ) and it should display like how you want. If you’re still having issues, please post your WP login details and I’ll take a look, however it’s definitely possible, as seen here: http://epix.themeva.com/portfolio
My apologies, I see what you mean now. Unfortunately that’s not possible – it’s due to the image resizing script I’m using, it can accept width and “auto” height but it can’t do height and “auto” width. If it’s just 3 images, I recommend using the “Single Image” shortcode and setting the size you require.
I am going to look into changing scripts in the future, but it’s a messy process due to it being heavily embedded into users sites already.
You must be logged in to reply to this topic.