Keyword

Setting AUTOMATIC the same height for all image gallery's

More
3 years 9 months ago - 3 years 9 months ago #176104 by deef
I'm using K2 on multiple sites, and the problem is Always the same. The width of the images are good, but the height is not alway the same. The only solution is changing the images with a image editor....

Here you can see a simple example:
www.glansbeton.be/industrievloer/toeslagstoffen

(look at the 6the picture)

Is there a other solution then changing it with a image editor ?)
Last edit: 3 years 9 months ago by deef.

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #176107 by deef
This link on my site is even een bigger problem :)

www.glansbeton.be/industrievloer/buitenparking

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #176114 by JoomlaWorks
K2 does not enforce any height restriction for images. This is up to the designer/developer of the template.

In your case, adjusting a fixed height is merely adding some CSS in your template. E.g.
span.catItemImage img {
    height: 300px !important;
    object-fit: cover;
}

which would result in: jmp.sh/c05ZENY

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum