make image auto resize

optmize image to auto size depending on target browser