Welcome to MR Forum!
You might want to try asking these types of questions in the
Workshop area. This sub-forum is for Calibre specific questions.
For most book format's you could use the following:
Code:
<div class="whatever"><img alt="" src="../Images/example.jpg" /></div>
with CSS:
.whatever {width:100%; max-width:2015px}
*set max-width to the actual width of that image*
*add any other styling to your preferences*
This will keep the aspect ratio and expand it to fill the <div> but will not stretch the image if the screen is too large - that prevents blurring of the image.
You could also try wrapping the image in SVG - but that is a bit more complicated and I've been told that not all devices support SVG all the time.
I hope that helps!