Solution:
The CSS will easily override the inline img tag, just use
#.. img{
height:auto; width:100%;
}