Select a portion of an image and retrieve its coordinates with jQuery

前端 未结 2 759
日久生厌
日久生厌 2021-01-04 12:12

I need a way for user to select the portion of an image either by resizing transparent rectangle or by clicking and dragging the selection area (as it\'s done in desktop OS)

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-04 13:01

    See Jcrop and it's demos.

    
    Flowers
    

    And the script:

    
    

提交回复
热议问题