Remember me

Problem with the size of Images

1 month 2 weeks ago #1

  • Thomas Klammer's Avatar
  • Thomas Klammer
  • Posts: 2
Hey there,

I started using your gallery mainly because of the feature of filtering the images in categories.

But now I ran into the problem, that i chose to have 4 pictures in a row, but whenever i have less then 4 pictures in one category, the picture appears a lot smaler then when I have 4 or more pictures in a category. I couldn't solve this problem, I hope you can help me here. I selected the "Justified" layout, as I need the images to be upright, and I want every picture to be the same height and width. So all the other Layouts don't work for me.

You can find the gallery here: dev.mk-heinfels.at/kapelle. One of the categories that has his error is "Kapellmeister".

Thanks for the help.

1 month 2 weeks ago #2

  • Viacheslav's Avatar
  • Viacheslav
  • Posts: 28858
Hello,
Thank you for contacting us!

The reason is that there is only 1 picture and the layout is justify, that is, it preserves the proportions of the picture; there is a limit of 250px in height, otherwise it would be the entire width of the free block, when there are enough pictures, the proportions are adjusted so that these 4 pictures fit nicely in a row

We can suggest you change the default height value in the code

Best Regards,
Vyacheslav, Balbooa Support Team
Powered by Kunena Forum