Change image ref and width