Set it to HTML
For each img element in your carousel, you can set the width property to 100% as follows (although you don't need to if the natural resolution is greater than the control):
<img src="http://i.imgur.com/OEdBxVD.jpg" width='100%'>
- usually this image will be too small to fully expand, but 100% scales it.
- make sure you don't have
width or height options for any pixel sizes
Since the image will be displayed in full screen mode, you should try to find a solution that, naturally, will try to use the entire available width. When the browser needs to scale the image, it will cause artifacts.
source share