1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Image crop

Discussion in 'JavaScript' started by creativewebmaster, Apr 21, 2014.

  1. #1
    Hello Everyone,

    We need to script/jquery, where user can select image, able to crop, but user can upload/select multiple images at at time or one by one, so when user click crop button then selected image's cropping part need to add to thumb list, so this way user can select/upload multiple images with cropping for any project, then user will enter all other details like: title, description something, and when finally user click save button, need to pass all cropped images to server for save to folder, and all details to save to db.

    If, you find any solution/URL or any script then please let me know.

    Thanks,
     
    creativewebmaster, Apr 21, 2014 IP
  2. xtmx

    xtmx Active Member

    Messages:
    359
    Likes Received:
    12
    Best Answers:
    4
    Trophy Points:
    88
    #2
    This will likely require extensive use of AJAX. Canvas may be usable for certain parts, but saving the image will require server side programming, unless you use toDataURL (not recommended for this type of application).
     
    xtmx, Apr 22, 2014 IP
  3. stanleyhelps

    stanleyhelps Peon

    Messages:
    13
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    3
    #3
    It's actually not that much of a deal. You create a resizable div on top an image and check its positions. When you hit a button you send the information to the server and use ImageMagick to crop the image. So, in general it's fairly straightforward but there I don't know of any solution that has everything you want. This could be a starting point though. Anything else would probably require development.
     
    stanleyhelps, Apr 22, 2014 IP