google maps static image testing

trying to have a dynamically sized google maps image

HTML

<img src="http://maps.google.com/maps/api/staticmap?center=Berkeley,CA&zoom=14&size=800x400&sensor=false" width="80%" />


<img src="https://maps.googleapis.com/maps/api/staticmap?center=40.714728,-73.998672&markers=color:red%7Clabel:C%7C40.718217,-73.998284&zoom=12&size=600x400"/>

<img src="https://maps.googleapis.com/maps/api/staticmap?center=40.714728,-73.998672&zoom=12&size=600x400&key=AIzaSyBq8gdCcmzERDnikFG5ZXPT2cl_HBIXEWY">