The fact that you are doing it on an iPad is likely the cause. Code that works on one platform may not work on another platform because a function on one may not work exactly the same as on another. Many times a capability, like photo uploading, often depends on a feature that works on Windows but may not be present on an Apple OS.

Larry