Ah sorry, hatte mich da vorhin vertan.
Dein Problem ist ein ganz normales CSS Problem. Du müsstest bspw. den image_container auf die gewünschte Breite und Höhe fixieren. Da deine Galerie aber responsive ist und relative Breiten benutzt, musst du das anders lösen, bspw. so:
PHP-Code:
.ce_gallery > ul > li > .image_container {
height:0;
padding-top:100%;
position:relative;
}
.ce_gallery > ul > li > .image_container a {
position:absolute;
left:0; right:0; top:0; bottom:0;
}
.ce_gallery > ul > li > .image_container img {
display:block;
position:absolute;
width:auto;
height:auto;
left:0;
right:0;
top:0;
bottom:0;
margin:auto;
max-width:100%;
max-height:100%;
}
https://jsfiddle.net/v4p0azah/1/
Lesezeichen