> For the complete documentation index, see [llms.txt](https://docs.thunkable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thunkable.com/snap-to-place/photo-library.md).

# Photo Library

## Blocks

### Select Photo

![](/files/-MYdSMuygJ3tfBtwYs58)

Opens the photo library and allows the user to select and upload a photo.

#### Outputs

| Name          | Data Type  | Data                                                           |
| ------------- | ---------- | -------------------------------------------------------------- |
| Photo         | Image      | Image the user selected                                        |
| DidUserCancel | True/False | If user cancelled action, returns `true`; else returns `false` |
| Error         | Text       | If error, returns error; else returns `null`                   |
