zxbodya / yii2-gallery-manager

93 stars 61 forks source link

Rotate images #53

Open onneze opened 6 years ago

onneze commented 6 years ago

How I can rotate uploaded images?

bscheshirwork commented 5 years ago

I think this is not implemented. Also we can add some "sizes" with rotated images

https://imagine.readthedocs.io/en/master/usage/introduction.html compare with config:

             'versions' => [
                 'small' => function ($img) {
                     /** @var \Imagine\Image\ImageInterface $img */
                     return $img
                         ->copy()
                         ->thumbnail(new \Imagine\Image\Box(200, 200));
                 },

Or add your own actions for this.