Images disappearing in rich text control

R

RMutt4m

When I paste images into a rich text control, they appear correctly until I
save the form. When I reopen the form, the images are only marked with
placeholders. The form XML shows a path to the images, but the images are
not in the folder indicated. Any ideas?
 
K

Kalyan G Reddy MVP (GGK Tech)

Hello

I am not seeing this issue when I tried it myself. please furnish more
details of the same
 
R

RMutt4m

Kalyan,

Thanks for the quick reply. I'm befuddled myself.

I'm cutting and pasting images from a Word document into a rich text control
in an InfoPath form. The images appear in the rich text control. I then
save the form, close InfoPath, then reopen the form. The images at that
point are gone, their absence indicated by placeholders (the little white box
with a red x and the area which would contain the image circumscribed by a
border).

If I open the saved form in a text editor, the xml contains html in the
element for the rich text control. The image is represented as follows:

<img style="WIDTH: 528px; HEIGHT: 361px" tabIndex="-1" height="361"
src="file://C:\Users\mhnort\AppData\Local\Temp\msohtmlclip1\02\clip_image002.jpg" width="528" v:shapes="_x0000_i1025"/>

When I open the folder C:\Users\mhnort\AppData\Local\Temp\msohtmlclip1\02,
however, there is no clip_image002.jpg file.

I'm pretty sure at one point in the form's development process that files
like the one indicated did show up. I haven't the slightest clue why they
aren't now.
 
R

RMutt4m

I just noticed that all the folders in my Temp folder are set to Read Only
access. I'm not sure why, but it does account for the phenomena. I'm
running Vista, BTW.
 
K

Kalyan G Reddy MVP (GGK Tech)

Hello

I think when you are cutting the images from Word doc and pasting in the
rich text box, the images are pointed to the temp folder. why dont you try
and paste the images in the Rich text box?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top