create generic callback,
images can be deleted