I have a requirement, that the image to be uploaded from the CMSCockpit should always be less then 150kb. I tried doing it with Interceptor and by using multipartResolver configurations. But none of them are actually working. I believe it should be configurable, but I do not see any such leads.
Can anyone provide me a better solution for this requirement?