I want to put a sprite image in my website, and use javascript to crop it to many separate images, then put these images into an image array.
Is this possible? Thanks.
Take a look at jCrop, if you're using jQuery or JavaScript Image Cropper UI if you're using prototype.
What server-side language are you using? If you just want a straight crop w/o the graphical interface it might be better to do it server side.
If you're using PHP, check out this tutorial on nettuts
If you're using Ruby on Rails, check out Paperclip
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With