change parameters for image