fix dimensions on image