adding photos resource