I found the cause of this issue to be related to an error in the CSV file I was loading, at least it seems that way. After that modification I have been unable to reproduce the error so this can be considered closed for now.
I was hoping to be able to save the image to the server somehow without user interaction. I figured that probably wasn’t possible.
Thank you I was able to get this working and it looks great.