control user types for images in gallery