gallery directory checker