使用這種
最好的辦法是一些其他的傳送帶
http://owlgraphic.com/owlcarousel/demos/images.html
<div id="owl-demo">
<div class="item"><img src="assets/owl1.jpg" alt="Owl Image"></div>
<div class="item"><img src="assets/owl2.jpg" alt="Owl Image"></div>
<div class="item"><img src="assets/owl3.jpg" alt="Owl Image"></div>
<div class="item"><img src="assets/owl4.jpg" alt="Owl Image"></div>
<div class="item"><img src="assets/owl5.jpg" alt="Owl Image"></div>
<div class="item"><img src="assets/owl6.jpg" alt="Owl Image"></div>
<div class="item"><img src="assets/owl7.jpg" alt="Owl Image"></div>
<div class="item"><img src="assets/owl8.jpg" alt="Owl Image"></div>
</div>
我建議要麼乾脆圍繞當前的圖像,並把背景顏色在他們身後或也許嘗試與源圖像這是大足以拉伸全屏。任何旋轉木馬/畫廊都可以更好地處理所有尺寸相同的圖像。 –
感謝您的想法,但我無法控制源圖像(用戶上傳) – Bostjan