How to add parameters in the image process?