Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Sizing on Recent Properties #168

Closed
PaulNWard opened this issue Jul 28, 2021 · 3 comments
Closed

Image Sizing on Recent Properties #168

PaulNWard opened this issue Jul 28, 2021 · 3 comments

Comments

@PaulNWard
Copy link

Hi there, me again, sorry!
How can I make the images in the screenshot Image1 the same height?
I've got [recent_properties per_page="6" columns="3"]
I know if I use the template assistant and check the Apply CSS to all pages then the images are the same size but it wraps the images so only 2 appear on the line and the 3rd one goes below as in Image2.
Image1
Image2
Thanks in advance,
Paul

@propertyhive
Copy link
Owner

Hi Paul,

It looks like the issue is primarily that images are being uploaded/sent with different ratios/heights. Of course a good option to increase consistency is to try and get the images in a standard width/height to begin with.

Failing that, the only other option I can think of, that doesn't result in stretching/squashing the images (which the Template Assistant route will do), is to change the thumbnails so that they are background images instead of tags. We've done this a few times and I've documented this here:

https://gist.github.com/propertyhive/867c71c008c65fe2b0aae7ae55bb2fd6

Let me know your thoughts on the above or if you need any further help,
Steve

@PaulNWard
Copy link
Author

PaulNWard commented Jul 30, 2021 via email

@PaulNWard
Copy link
Author

PaulNWard commented Jul 31, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants