I am trying to make a carousel with owl carousel with vertical and horizontal images, I would like to have the same height for both type of images and the width auto. I don't understand if I can achieve this only with the css or I need to use js to update the height of every image
this is my codepen http://codepen.io/mp1985/pen/LNejmO
$('.owl-carousel').owlCarousel({
loop:true,
nav:true,
responsive:{
0:{
items:1
},
800:{
items:3
},
1000:{
items:3
}
}
});
any help or suggestion?