image deletion now works
images can now be deleted