added resizeImage(boxWidth, boxHeight)

extention of answer:
http://stackoverflow.com/questions/6229527/resize-image-which-uses-jcrop
/12914140#12914140