Hi,
I have a problem in frontend general category layout.
I see if my images are not the same ratio, the layout is broken. See screenshot.
Is there a way to force this images size in the configuration ?
VM 4.0.2 16661
Joomla 3.10.10
Probably best to make the images the same aspect ratio, but here is one example of cropping with css.
Should be easy enough to to do in your template.
Jörgen
as they say .. shite in == shite out ... why not make the effort of the same sized images?
Quote from: Jörgen on June 28, 2022, 10:32:33 AM
Probably best to make the images the same aspect ratio, but here is one example of cropping with css.
Should be easy enough to to do in your template.
Jörgen
Hi, thank you, but i did not see example here...
Quote from: GJC Web Design on June 28, 2022, 11:00:54 AM
as they say .. shite in == shite out ... why not make the effort of the same sized images?
Yes, i know, but it is not me.
The client makes his own changes, and although I have already explained to him several times that he needs images of the same size, he can't do it. So I'm looking for an "automatic" way to do it for him.
Sorry
https://stackoverflow.com/questions/493296/css-display-an-image-resized-and-cropped (https://stackoverflow.com/questions/493296/css-display-an-image-resized-and-cropped)
https://stackoverflow.com/questions/15167545/how-to-crop-a-rectangular-image-into-a-square-with-css (https://stackoverflow.com/questions/15167545/how-to-crop-a-rectangular-image-into-a-square-with-css)
Jörgen
You do not need to resize images, if you use a modern responsive template using right CSS rules for product row / columns
Here for eg a sample https://gist.github.com/fotan/ae20d38c242193e338fc
But if you use right Html for your render, you should not have this problem.
Thanks to both of you!
I'll see it.