Crystal Reports- jpeg disappears after saving report

When I insert an 850kb jpeg image into my report,  the image disappears from the screen after I save the file. The box remains in the report, just the image goes away.  If I double-click in the box, the image opens in Paint.  The image does not appear on the screen or print with the report.  

I am experiencing the same behavior in both Crystal 2013 and Crystal XI.  Any help or insight would be appreciated.

John BoscoCrystal Report DeveloperAsked:
Who is Participating?
John BoscoConnect With a Mentor Crystal Report DeveloperAuthor Commented:
Thanks for the responses.

mlmcc: Both report environments are being kept separate.  

James: I created a small jpg using Paint and did not experience the problem.  The solution I eventually came up with is very odd/random.  I added the jpg as a picture, then before I saved the report, I copied it to the clipboard. Then I saved the report and pasted the jpg back to the report.  After the save, the first jpg disappeared from the report and the second one remained.  

I've been working with CR for close to 15 years and this is one of the weirdest behaviors I've seen.

Thanks again,
Are you editting the report in both?
It is possible there is an incompatibility between the versions particularly when opening it in CR XI after saving in CR2013

Any suppression on the object or is it perhaps behind another object?

I don't know why the image would disappear, but I do have a few questions/ideas/etc. (in addition to mlmcc's ideas).

 Have you tried inserting a different image file, maybe with a smaller image, to see if it does the same thing?

 In CR 10, you can insert an image as a Picture, or as an OLE Object.  If I insert it as an OLE Object, then if I double-click on the image, it opens in an image editor.  But if I insert it as a Picture, then nothing happens when I double-click on it.  So, I'm guessing that you inserted your image as an OLE Object, in which case you could try inserting it as a Picture instead (assuming that you have that option) to see if it makes any difference.

 When you insert an image as an OLE Object, you have the option for the report to display an icon instead of the image.  This doesn't seem likely, but if you used that option and then the icon didn't work for some reason, then you might end up with nothing showing on the report.

That does sound pretty odd.  I'm glad that you found a workaround.

John BoscoCrystal Report DeveloperAuthor Commented:
I stumbled upon the solution on my own.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.