I was wondering if anyone has ever made something that would let a user change the cropping of an image’s display on the fly?
What I’m imagining is a user uploads a photo which does not get cropped and when the photo is displayed on their dashboard they can select a ‘crop display’ option and select a rectangular area of the image to be displayed, however, the actual photo is not cropped, and a user could repeat this and display a different section of the same photo. Anyone ever done this or have idea on how it could be done? Thanks a bunch!
Dragonfly does this.
It’s a Rack framework with on-the-fly image processing as one of its main points. Basic usage:
To make your example work, you could surely use any cropping tool and pass the arguments to the server to create multiple re-usable “crops”, or other views (note the grayscale, etc).