PUBlic function to delete PUBlic function to delete PUBlic function to delete Previous Image Next Image