Rescale images before saving in DB


We need to save in DB the same image in 3 different sizes. For example, 10x10 px, 20x20 px and 30x30 px.

The original image is the biggest one and it is being obtained using the Croppie plugin to upload it. However, we did not found a way to resize this image to the other two sizes before saving them in DB.

Is there a plugin or another way to resize images in a workflow?

Thank you!!

1 Like