fix type on image url