Updates to the Cropt javascript component
Budget: $30 – $250 USD
I'm using the Cropt JavaScript component (https://github.com/devtheorem/cropt) in my web application.
I would like someone to tweak it a little. Here is what I need:
- Fit the entire image inside the viewport. For example, if the viewport is 400px x 100px and the image is 100px x 100px, I need the image to fit within the viewport.
- When zooming out to fit the image inside the viewport, the image is currently anchored to the right-hand side. I need it to be aligned to the left-hand side instead.
- I also need a transparent canvas with the same dimensions as the viewport. When exporting the cropped image, the entire canvas should be exported as well, with the cropped image displayed in front of the transparent canvas.
I would like someone to tweak it a little. Here is what I need:
- Fit the entire image inside the viewport. For example, if the viewport is 400px x 100px and the image is 100px x 100px, I need the image to fit within the viewport.
- When zooming out to fit the image inside the viewport, the image is currently anchored to the right-hand side. I need it to be aligned to the left-hand side instead.
- I also need a transparent canvas with the same dimensions as the viewport. When exporting the cropped image, the entire canvas should be exported as well, with the cropped image displayed in front of the transparent canvas.