Hello!
Established gallery and at all sites work correctly deleting images from the gallery and one is not correct ...
Site
http://rospisi-hramov.ru/
When the images are removed from the gallery, they are removed, but the site remains ...
The fact that there is a gallery
http://joxi.ru/DrlVLoahN9OJ2П
What is on the site
http://rospisi-hramov.ru/finish-work/?galAlbum=17
Faced with such a problem purifying the database and that helps, but not every time to clean the database when you delete images ...