function makeResourceDrag(arrIndexID) {
$(\'#imgA\' + arrIndexID).resizable();
$(\'#imgA\' + arrIndexID).draggable({
start: function(event, ui) {
If you apply the resizable first, you can then apply the draggable to the img's parent; which is the new div created by applying resizable.
chartImg.resizable({ animate: true,
ghost: true,
handles: 'n,s,e,w,ne,se,nw,sw',
start: function (event, ui) { startResize(event, ui); },
resize: function (event, ui) { monitorResize(event, ui); },
stop: function (event, ui) { stopResize(event, ui); }
}).parent().draggable({ containment: $(".chartPane") });