demo for image uploading and cropping in rails 3