receiving photos from multiple locations based on user cookies