Is anyone else struggling with pulling a place’s photo? I’ve been able to pull other place information (e.g., rating, phone number) but can not crack how to get an image to show…Before I go mad, just want to be sure there isn’t a problem/bug with this currently. Thanks!
What you’re retrieving is a list of images, not just a single image. While it’s possible that a specific Google place result only has one image for that listing, the underlying data structure of the API call tells Bubble to expect a list.
Given that you’re using a single image element, Bubble is asking you to specify “which one” - the first one, the last one, some random one, etc.
Otherwise, if you wanted to display all of the images in a carrousel, you could either put the image element inside of a repeating group or install an image carousel plugin (and set the data source to not include an item # modifier, which would show the full list).
I guess the problem is that even if I choose last item, first item, random item - it doesn’t let me stop there and requests that I also add “width”, “height”, “photo reference” or “attribution”. I just want to display a single photo - beyond that not particular, but cannot figure it out.