Gallery: actually stop showing an image/thumbnail if a user doesn't have access to it