added path to put_photo

Added the option to set the endpoint location for put_photo. This was needed in at least one instance to set the picture of an event (/EVENT_ID/picture).