Pasting Pictures - InfoPath Makes it Easy! - Hilary Stoupa

InfoPath Dev

Hilary Stoupa

Pasting Pictures - InfoPath Makes it Easy!

Short post - but there is something that I know that I thought everybody knew... and it turns out that may not be the case!

Did you know that you can simply paste pictures into a picture control in InfoPath? This works in 2007, 2010 and 2013 - I don't have a 2003 machine handy to test on.


You can either right click the control and select Paste or the clipboard icon (depends on version - screenshot above is from IP 2013), or if the control is selected, you can use CTRL + V to paste. Oh - and this can be either for a screenshot on your clipboard or you can copy the picture from your file system.

Bonus - if the picture control is meant to be used with linked pictures (instead of storing the picture in the form), you can open the picture in your browser, copy it and paste it in. If you check the XML, it will contain the link - the form will display the picture.

Have fun saving time! No more browsing the file system for you!

EDIT: Not IPFS (browser form) compatible though - which is unfortunate!



Den12 said:

Hi Hilary,

I am not sure whether it is an issue specific to my setup, but this approach does not allow the user to resize or format the picture, while if inserted in a Rich-text control, it allows resizing by the user (but the trade off is that you can not paste the picture in arich-edit directly).

Could you please clarify.

March 13, 2013 1:10 PM

Hilary Stoupa said:

This is simply about being able to paste into a picture control. You are correct - we are not able to resize images inside a picture control. We also can't enter text.

March 26, 2013 12:25 PM

jnava121 said:

Could something like this work for powerpoint slides. Where they paste slides in to a form that has already has multiple views and data in it?

March 29, 2013 8:31 AM

jnava121 said:

Thanks for the idea, i think this helps automation where users have used powerpoint for years and I build a Infopath form I give them the option of pasting their slides in a seperate view ( I just made a repeating table with picture control) seems to work great.

March 29, 2013 10:54 PM

About Hilary Stoupa

I wandered into development after working as a business process analyst for a global manufacturing company. I create InfoPath solutions for our clients as well as work as a developer on company tools that extend InfoPath. I've also been instrumental in creating the InfoPath Master Class training provided by Qdabra.

Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.