fixes incorrect dimensions (width, height) in img-tag of page image