Add better functions to crop without imagick

In this way, we have a better and configurable way to crop images without imagick.

**TODO**

+ Add settings into media, that allow to configure upscale and squares thumbnails