JCrop - Unable to move selection

I have a simple jcrop example and I cannot figure out how to move the selection. I thought it might be a jQuery library, but I am using v1.3.2, which is what the demo uses. I used jcrop on another site and everything works fine when I jcrop it up. I tried setting the allowMove parameter to true , but it still does not work. Am I missing something?

 <html> <head> <script src="./jquery-1.3.2.js" type="text/javascript"></script> <script src="./jquery.Jcrop.min.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { //alert('fda'); //SET JCROP OPTIONS jcrop_api = $.Jcrop('#cropPhoto'); jcrop_api.setOptions({ allowMove: true }); jcrop_api.setOptions({ allowResize: false }); jcrop_api.setSelect([0, 0, 200, 200]); }); </script> </head> <body> <img id="cropPhoto" src="http://www.townattorneygeneral.com/images/CarlPerson019.jpg" alt="randomimage" style="border:1px solid #000000;" /> </body> </html> 
+6
jquery selected move area
source share
1 answer

I know this is kind of old, but no response.

You must include the css file that comes with the script, it sets the overlay and gif.

+22
source share

All Articles