Display image in form
Hello
I would like to display an image within a form as a field...is this possible? Does this require a custom component?
Thanks
Hello Amin,
This is William with the Form.io support team. Thanks for reaching out!
Displaying an image is possible with our Content component.
Here is a video to show you how to add an image as well. https://www.screencast.com/t/RqJ0eBgC
Please let me know if you have any further questions or concerns.
Thanks,
William Gay Form.io Support
Thank you @wag110894 for your help. Will look at the Content component.
how can we upload image without applying url ??
What do you mean "without applying url"?
What do you mean "without applying url"?
Like type of screenshot attachment........
You can use Base64 upload, which is a way to upload without providing a url.
Hello @wag110894 and @travist ,
Content component has been updated recently and it seems it do not support uploading of images anymore the way you prescribed it. I am receiving an error in console.
filerepository-no-upload-adapter: Upload adapter is not defined.
How can we define an upload adapter for formio content component?
Appreciate your help.
Thanks
Hi all,
How to display an image in the form.io? Let's say that I have two controls: the text one where the image url needs to be entered and the HTML element component where this image should be displayed. The final goal is to achieve this dynamically.
The use case: HR -> Based on the selected Employee ID all dependent fields will be populated too. One of them will contain the url of employee's image (text field) and that value should be passed to the another HTML control and show how he/she looks like.
If you have any idea please help. I'm a new to this matter.
Screencast link is dead
Hell @nathanieltagg,
Sorry about that. Here is a new video of how to display an image inside a form: https://share.getcloudapp.com/Jru7OPxO
I hope that this helps.
@wag110894 The video link : "This item has exceeded its view limit!"
Apologies. Here you go! https://user-images.githubusercontent.com/25830796/125980138-33bb4090-45da-4fc1-affd-703673f9e6f1.mov