Setting default crop size ...

3 posts, 0 answers
  1. Mark H
    Mark H avatar
    38 posts
    Member since:
    Aug 2008

    Posted 11 Nov 2014 Link to this post

    I want to set the default values in the crop dialog to be the width and height of the image itself, how can I specify this?

    TIA
  2. Mark H
    Mark H avatar
    38 posts
    Member since:
    Aug 2008

    Posted 11 Nov 2014 in reply to Mark H Link to this post

    I did see this post but how can I reference the image width/height in the javascript?

    TIA
    M
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mark H
    Mark H avatar
    38 posts
    Member since:
    Aug 2008

    Posted 12 Nov 2014 in reply to Mark H Link to this post

    ok got it:

    var width = imageEditor.getEditableImage().get_height();
    var height = imageEditor.getEditableImage().get_height();
Back to Top