do not show gallery if no images are set