Now, I’ve re-created a new gallery, but it’s not the first time that a broken image is generated by removing an image. Generally the warning in the src attribute of the broken image refers to the line from 12 to 20 of the attachment.php file of the plug-in in WP-Content.