fixed delete gallery image for group galleries