Hi, is there any way to upload an image individually?
A folder on the server and save its path in the database.
*I want to upload a photo as an avatar on a form.
Hi, is there any way to upload an image individually?
A folder on the server and save its path in the database.
*I want to upload a photo as an avatar on a form.
I’m pretty sure there is some sort of example project included with Xojo that does handle uploaded images. I haven’t looked recently so I couldn’t tell you exactly what it’s called, but looking through the example projects might be useful.
You use a WebFileUploader: Drag it from the library to the WebSite.
Then you make a button and give it the name “Upload”.
The Action of the Upload-Button is:
nameofthefileuploader.Upload()