When writing a diary entry, there are photo and camera icons at the upper left of the keyboard. Tap one of them to choose photos from the photo picker. If it doesn't work properly, open the Settings app on your iPhone or iPad, tap "Privacy & Security" → "Photos", select this app, and allow access.