Hide gallery on pages withoud images