Uploading photos when using a webviewer

I have an application on the iOS that mainly uses the Webviewer. In the Webviewer I upload photos to sites (example, formsite.com is where I upload photos or videos through a form submission).
Sometimes the uploads work and I’m able to continue filling out the form, but sometimes my screen goes white after taking or choosing a photo from my library and the only way to fix it is to close out of the application completely and reopen it. But then it closes the page I was on and restarts the app, so I have to restart. Is there a way to have it consistently work, so that I can upload photos through these online forms?