I am using imagekit to handle custom size of uploaded images. While it works fine for creating custom size images with this, I’d like to use imagekit to resize the original image on upload. Is this possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
follow the link above.
Create processors as you like for original image (resize, enhance, etc). Look imagekit wiki for examples
Create your ImageSpec for this original image with those previously processors. Leave pre_cache as default (false)
Add that ImageSpec to your IKoptions ImageModel preprocessor.
preprocessor_spec = Original