Allow user to upload image?

How can I let a user upload an image for their in-game profile? It seems like you can do this on iOS with scripting to bring up a view controller etc. but how about doing it in blueprints or on PC?

I know about the download image node but I don’t understand how the user is supposed to provide a path to it except for literally having them type it into a text box lol

bump, anyone?

simple old node “download image” work perfectly Filesystem, user can upload image to the game? - Programming & Scripting - Unreal Engine Forums

Thanks for your reply but as I mentioned in my question above, I’m looking for a cross-platform solution that would allow the user to browse for the image without having to write native code or C. Just wonder if that is possible in BP. “download image” works great when you already know the url the path.

I’m not mentioned C++. you can add variable to path and read it through umg textbox (where is user entering the path for image)

Thanks but I still think you’re missing the point :slight_smile: I don’t want to present a text box and ask for a path. I would like to allow the user to browse to the image using the platform’s native image explorer.

I understand this, I suggested to you workaround - same result with different way :slight_smile:
If you will find own way - please tell

Thanks, I don’t think there is one for mobile. For example, on iOS you need to use code to bring up the native view controller for browsing images and gather the right permissions. Which that was a BP node…

I don’t believe this is doable at this point. At least with blueprints as android and Ios use a completely different file system from each other. One of the biggest headaches for me when making mobile games (Not In UE4) is dealing with the restrictions of access to files without a prompt or asking the user. The security on these devices are so restricted that its near impossible to access a file outside of the allotted game directory without permissions or prompting for obvious reasons.

Agreed, it requires getting permissions for the app. Until Epic implements something similar to Apache Cordova’s plugin system in blueprints, it will not be a complete solution and then you might as well start with code…? :slight_smile: