We use the ImageInput component when I import an image and I see the value of the input type file I see that the value is 'C:\fakepath\Image.png' but I just want the name of the image which is 'Image.png' not the path.I tried to split by backslash but it doesn't work.
Hi,
KTImageInput component uses standard image input control to submit the attached image file so the full path must be used in order to submit the attached image properly. In you can manipulate the image path on your server-side and extract the filename as per your requirements.
Regards