Results 1 to 2 of 2

Thread: [RESOLVED] Photo Resizer - Resize uploaded photo and crop the selected portion

  1. #1

    Thread Starter
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Resolved [RESOLVED] Photo Resizer - Resize uploaded photo and crop the selected portion

    Hi guys,

    In this web project(PHP) that I am working now, user's photos should be allowed to upload. That's not the problem, but they should be allowed to resize it if the photo doesn't matches the fixed height and width.

    So, I am looking for a pre-made solution in jQuery that will allow users to resize the pic by drawing a dotted box and then resizing it. Then it would send the xy coordinates and resized width & height to my php file which will then make use of the imaging functions to crop the unwanted portion.

    I have thought about creating one. But don't know whether it would be a good choice to start creating one from scratch.

    Do you have some recommendations or do you know something that you might use for this purpose.

    Thanks


    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  2. #2

    Thread Starter
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Photo Resizer - Resize uploaded photo and crop the selected portion

    Since I didn't got a reply in here, I thought about writing a jQuery plugin(first time creating a plugin). After going through the tutorial, I found that I was using the wrong keywords in Google to search to find an existing plugin for my needs. It shouldn't be "resizer". It's "cropper"!
    So, just searched in Google and got the first result, which was the exact the thing that I was looking.

    Link: jCrop Demo

    I didn't implemented in my project yet. But from the demo and the documentation, it looks like the perfect one.


    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width