Add photo in theme API.
Add error handler
Validate uniqueness for device.