Hello, first I want to thank you for an awesome plugin for cropping image,
I'm new here in github and i created this account just to post this issue that I don't know to solve.
I'm fairly new to jquery/javascript so I still don't quite understand how your plugin works. I'm sorry :[
I want to have a button that flips the image vertically and horizontally and reverse horizontal before uploading it to my server.
And I'm having problem flipping the croppie in reverse horizontal not just rotating it.
In your demo I saw how you rotate image by degrees and only flip horizontal works for me.
So I want to know how to achieve flip croppie Horizontal Mirror | Reverse Horizontal on button click.
This is the original orientation.

Flip it Horizontal Mirror | Reverse Horizontal on button click

I don't know if I'm clear enough but you'll get the idea.
Any help will be appreciate :) Thanks
Something like this ?
https://jsfiddle.net/afb76b7f/54/
Yes! that's it! Thank you so much and after i've seen your fiddle with the ternary operator, I finally understand how the orientation works! :+1:
Additional: The only reason I've ask this because I don't know if the orientation is still changeable after i set it.
You're welcome.
Most helpful comment
Something like this ?
https://jsfiddle.net/afb76b7f/54/