Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8252825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T00:40:08+00:00 2026-06-08T00:40:08+00:00

I am trying to use this http://odyniec.net/projects/imgareaselect/examples.html Jquery Cropping example to get the dimension

  • 0

I am trying to use this http://odyniec.net/projects/imgareaselect/examples.html Jquery Cropping example to get the dimension from jquery and send it to my java, so the java file does the cropping for me or i just do it here on the client side, but it doesnt work for me here is a code that i wrote http://jsfiddle.net/UydpR/ to be honest i have no idea what I am doing or how I am suppose to write this, I thought if I just say it will give me the rest of the options…any help or example of the code would be appriciated… I did follow their documentation but I am pretty new at this

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T00:40:09+00:00Added an answer on June 8, 2026 at 12:40 am

    Your fiddle setup isn’t correct. you use mootools instead of jQuery. First of all you have to change this. Also you code had a lot of problems, so you have to change it.

    You can check out a Version with cropping an Image in this Fiddle:

    http://jsfiddle.net/UydpR/2/

    If you add a Form with hidden fields and a php file like this code below you can submit the selection coordinates. I havent tried this yet but the developer of the script makes this example.

    Add a form with hidden fields (with the names listed below) to your HTML Code.

    Add this to the javascript code:

    $(document).ready(function () {
    $('#ladybug').imgAreaSelect({
        onSelectEnd: function (img, selection) {
            $('input[name="x1"]').val(selection.x1);
            $('input[name="y1"]').val(selection.y1);
            $('input[name="x2"]').val(selection.x2);
            $('input[name="y2"]').val(selection.y2);            
        }
    });
    

    });

    Be sure that you have make a php file and. Submit the form data to your PHP file and do what you like with it.

    Here you can find the tutorial: http://odyniec.net/projects/imgareaselect/examples-callback.html#submitting-selection-coordinates-demo

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to rewrite this Jquery http://jsfiddle.net/Claudius/gDChA/4/ to use this HTML instead http://pastie.org/2370829
I'm trying to use this: http://api.jquery.com/jQuery.get/ and I don't understand why the examples look
I'm trying to use this tooltip plugin: http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ . I can't seem to get
I'm trying to use this plugin http://www.cssnewbie.com/example/equal-heights/plugin.html but haven't used much javascript before. It
I am trying to use this: http://abeautifulsite.net/blog/2011/01/jquery-selectbox-plugin/ to add a transition by default to
trying to use this function http://php.net/manual/en/function.strip-tags.php against this: [link-code-html] => <a href=http://www.kqzyfj.com/click-3782261-10563989>invisibleSHIELD for the
I am trying use this example http://www.sajithmr.me/jrecorder/example2.html for recording audio and send it to
I'm trying to use this http://www.rcsb.org/pdb/software/rest.do REST services with Qt. I did some get
I'm trying to use the autocomplete plugin for jQuery (this one http://docs.jquery.com/Plugins/Autocomplete ). My
I'm trying to use this library : http://pastebin.com/xgPXpGtw (an example of use: http://pastebin.com/fNFAW3Fh )

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.