Change reference for image