You can try setting a variable deleted to false. When a user clicks the delete image button, set it to true. When displaying Cloudinary images, check if the variable is true. If it is, set the URL of the image to any image displaying DELETED, instead of displaying the most recent Cloudinary picture.