Results 1 to 2 of 2

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

Hybrid View

  1. #1
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 08
    Location
    Trivandrum, Kerala, India
    Posts
    7,557

    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 Athlon X2 5200+, ASUS Motherboard, 2 GB RAM, 400 GB HDD, Nvidia 8600 GT 512MB, 19.5" TFT(Wide), Creative 5.1 Home Theater

    Social Group: VBForums - Developers from India

    Skills: PHP, MySQL, jQuery, VB.Net, VB6, Photoshop...

  2. #2
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 08
    Location
    Trivandrum, Kerala, India
    Posts
    7,557

    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 Athlon X2 5200+, ASUS Motherboard, 2 GB RAM, 400 GB HDD, Nvidia 8600 GT 512MB, 19.5" TFT(Wide), Creative 5.1 Home Theater

    Social Group: VBForums - Developers from India

    Skills: PHP, MySQL, jQuery, VB.Net, VB6, Photoshop...

Posting Permissions

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