The CreatorCon Call for Content is officially open! Get started here.

Copy and Paste Image

Neeraj Sharma10
Tera Guru

Is there any way we can Directly Copy (control C) and Paste (control V) image into email notification ?

When i am copying and pasting image/screenshot in email notification the height and width of the image is set to zero! Thats why, It is not visible in email body.
How can we change that?

HTMl.png

3 REPLIES 3

christophedecug
Kilo Contributor

Hi


I face the same issue


Service now told is they would plan this in a future release, but i've seen posts on this site that this was maybe feasible with scripts


https://community.servicenow.com/thread/162769#


Please note that if you manually remove the width="0" height="0" from the source code, then your image will appear... but this is of course not a good answer 🙂


Did you find a solution since your post ?


Thanks


christophedecug
Kilo Contributor

I've found an even better article on this topic



How to support copy / paste of pictures on Service Portal



By using the method described on this article I could allow copy and paste in incidents on html descriptions in our service portal : the goal is to allow end users to copy paste screen shots when creating tickets directly from the clipboard into the description of the incident


I have modified the widget used to display the fields when creating a new incident according to the instructions of the article


find_real_file.png


< you will need to find the correct widget according to your needs >


Once in the widget


First change done in Body HTML template (highlighted below)


find_real_file.png


Second change done in CSS (hightlighted below)


find_real_file.png


It works fine in our test system.


Hope this helps


Added this to all my forms, and it works great.