After uploading an image file, how do I get the FileName so I can display it on another page? For example, a profile image.
After uploading an image file, how do I get the FileName so I can display it on another page? For example, a profile image.
Hello Jason,
Could you please clarify do you upload an image to the Appery.io db or to the Media Manager?
I'm sorry for the delay in my response. I was uploading it to the database. I do not know about the media manager.
Hi Jason,
After you upload file with upload service this service will return your "filename" and "fileurl" response parameters.
Thus your response settings for upload service should be as following:
Details: http://prntscr.com/75csoj/direct
So on "success" action of this service you can add event handler or use mapping where you can store these response parameters ("filename" and "fileurl") to some storage.
Ten you can use stored in storage values in way you need.
Regards.
You can create such parameters for your service.
@Illya Stepanov
Yes I did So. Thanks for reply and Sorry for the late update