I have a web page in Outsystems web (screenshot below) which displays images contained within a database. I am able to right click on these images then select "Copy image" from within the Google Chrome browser to copy them directly into my clipboard and use later (for example to paste into Microsoft Word).
I have been trying to develop a button which could be placed next to an image and when clicked copy it to the user's clipboard. So far however I've only been able to copy the image data rather than the image itself, for example:
"data:image/jpg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAA0JCgsKCA0LCgsODg0PEyAVExISEyccHhcgLikxMC4pLSwzOko+..."
- Is there any way I could do this in Outsystems web?
Hello Callum,
The clipboardimage component in the Forge might be of interest to you.
I have not used it myself but looks like it may have what you are looking for.
Regards,
AJ
I am also trying to find a forge component or other method to enable a user to copy a specific image to their clipboard when they click an onscreen button.
The clipboardimage component referenced above doesn't do that. It allows the pasting of an image from the clipboard, but not the copying of an image to the clipboard.
Any other suggestions? Thank you!