added media for How To Use example, made drawImg function use w,h