Can not paste or insert a picture in Multiple lines of text field

Hi,
We have an issue about Contribute user to paste or insert a picture in Multiple lines of text field as below picture (App and Console Log).


It is very strange if we perform to paste 3rd times, the picture appear normally as below picture.

We have upgraded our both server and Designer client to the latest version of Plumsail Forms as you can see picture below but the issue still exist.

Please help us to solve this issue.
Regards,
S.Jugkrit

Hello @JugkritNWR,

To insert an image to the enhanced rich text field user should have edit permission to the SitePages library, as the image is uploading to the library first.

@Margo

It works.

Thank you very much.

Hi @Margo I am trying to capture the image from multiple lines of field in Flow and send as an email attachment. Can we capture the name of the file or the ID used in the file name to build url, for e.g.

https://netjets.xxx.com/teams/xxx/SitePages/PlumsailForms/Images/2023-05-01/9b691ca9-e59b-4b57-acb8-87747f73e21d.png

Hello @aseem,

The image in Rich text field is wrapped inside the image tag like so:

<img src=\"/sites/MSFT/SitePages/PlumsailForms/Images/2023-05-02/7d415dd5-a4ed-4ec5-a47c-72a9984dd278.png\" />

You can extract the image URL in Power Automate flow, please find the example here.

Flow worked thank you

1 Like

Hi Margarita,
I'm struggling with this same issue. When you say Site Page library, do you mean the whole library. This seems like a very big security compromise? How do I maintain security whilst giving access?

Hello @peter.harrison,

What is your concern?

Users should have access to Site Pages to access forms as all form templates are stored in this library.

Images are uploaded to /SitePages/PlumsailForms/Images folder. You can give users contribute permission specifically to this folder. Another option is to attach images in another way, as item attachment, using Image column or upload to another library using List or Library control.

Thanks Margo,
The way I'd read it was I had to give edit rights to the whole of the Site Pages library.
But if I can just give contribute rights to /SitePages/PlumsailForms/Images then my concerns pretty much disappear.
Although I still have a slight concern about the potential for users to access other users images.

@peter.harrison,

You can change the permission to the file with Power Automate flow, and give other users only permission to read the file.