image resizing working. Implementing image window for backend