Delete gallery image records when deleting image gallery