Tuesday, 31 May 2011

Grails Image Crop Using Jcrop

A user in an X-Events hosted site should be able to upload his picture and use it as a profile picture. Also, the uploaded picture has to be cropped to a certain resolution before it is used.

You might have seen many websites nowadays have a profile picture. And when you upload a profile picture, you are usually prompted to crop the picture (sometimes with certain forced resolution), and it is this cropped picture that is used from then onwards. I was required to implement a similar functionality here. I decided to use Jcrop for the JavaScript side of the cropping mechanism as it was based on jQuery and we were already using a bit of jQuery in our application. Here I illustrate how I did the job.

21 comments:

  1. A good UK writer will probably be with you about writing some sort of dissertation declaration, writing a study offer in addition to getting ready the investigation previous to it's sent out to you. Simply make certain the organization you ultimately choose is located along with documented in your area. Almost all provide a 100% money-back guarantee and also carry out your changes free of cost. By doing this you can be certain of receiving the products creating you choose. An area custom dissertation writing business using ancient authors will not likely outsource your job available overseas wherever internet writers are not sure of the particular creating abandon alone this instructional requirements of your university or college.

    ReplyDelete
  2. Incredible site. This is similar http://www.b2bmarketing.net/blog/posts/2015/10/28/developing-efficient-b2b-content-marketing-strategy-%E2%80%93-10-steps I have been examining about this point with my associate, Because its extremely intriguing. Proceed with your fabulous work. thanx

    ReplyDelete
  3. I feel happy about and learning more about this topic. keep sharing your information regularly for my future reference. This content creates new hope and inspiration within me. Thanks for sharing an article like this. the information which you have provided is better than another blog.
    IELTS Coaching in Delhi

    overseas Education Consultants

    ReplyDelete
  4. Usually I never comment on blogs but your article is so convincing that I never stop myself to say something about it. You’re doing a great job Man,Keep it up.
    study abroad consultants in delhi
    ielts coaching in gurgaon

    ReplyDelete
  5. Among other courses, business assignment writing help online has become popular since students seek Business Essay Writing Services and business case study writing services.

    ReplyDelete
  6. PHP advancement is a well-known scripting language that is utilized to make intelligent and dynamic sites. Today, most business sites are made by utilizing php application development as it accompanies profoundly practical highlights and ease of use. So, organizations ready to make a customer's site with amazing information the executives highlights will require to recruit php development company. Our prime php website development improvement administrations start with understanding the client needs and stretches out to database driven top of the line custom undertaking web frameworks. Recruit devoted PHP engineers from Colan Infotech to plan php web development utilizing Photoshop, Flash etc. The php development India advancement administrations we offer are recorded underneath:

    ReplyDelete
  7. It is important for neurobiology coursework writing help seekers to find the best Neurobiology Writing Services from a reputable neurobiology research paper writing service provider for their custom neurobiology essay writing services.

    ReplyDelete
  8. It is important to seek statistics coursework writing services and statistics essay writing services since students find help when they visit Business Statistics Writing Services.

    ReplyDelete

 
Copyright David Bourget and University of London, 2011. This blog's content is license under the Attribution-ShareAlike license.