added delete feature to crop images