photo upload on patients editor page