Answered by:
Pictures showing as black boxes in Word 2010

Question
-
My company is in the process of upgrading from Office 2003 to Office 2010. We have hundreds of technical documents that contain screenshots and other images. In Word 2003 the images all show up properly. In Word 2010 most of the pictures show up as black boxes but some will show up properly. I found a kb article that contained some troubleshooting steps http://support.microsoft.com/kb/918788. None of them worked. Does anyone know what else can cause this issue?
Monday, November 8, 2010 11:34 PM
Answers
-
It looks like cutting and pasting the pictures back into the document is the only way to fix all of them. Compressing all the pictures fixes some but not all. The code causes formatting problems. There are so many doucuments that have this problem it isn't feasable to cut and paste pictures back into all of them. I have no choice but to keep Word 2003.
- Marked as answer by Jennifer Zhan Thursday, November 18, 2010 7:15 AM
Thursday, November 11, 2010 6:38 PM
All replies
-
This issue can also occur if the images are scanned images.
Usually cutting the image and pasting the image back into the document resolves the issue.
In similar cases, there have been other suggestions that have worked for users.
Some have found that if the files are opened in Wordpad and saved as RTF, the file and images can then be opened on Word. Whether the file will open in Wordpad depends on the operating system and the file format of the file. For example, WordPad in Windows 7 can open docx and rtf files.
Another option that resolves some of the issues is to try the following:
1. Right click a picture in the document, then click Format Picture.
2. Click Compress in the lower-left corner of the Picture tab.
3. Check "All pictures in document" , and "Delete cropped areas of pictures" , and uncheck "Compress pictures". Select OK.
There is also some sample code that has worked for some. However, the code needs to run on Word 2003 or where the image is appearing correctly. Basically the code cuts each image and then pastes it back into the file. There may be some resizing of the images when getting pasted back in. The code is strictly a sample.
=====CODE==========
'WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS EXAMPLE IS
'AT YOUR OWN RISK. Microsoft provides this macro code "as is" without warranty of
'any kind, either express or implied, including but not limited to the implied warranties of
'merchantability and/or fitness for a particular purpose.
'===========================
Sub fixInlineShapes()
'start here
'Iterate the InlineShapes collection
'select each inlineshape and then cut it.
'At the selection point pasteSpecial as a picture object.
Dim oInlineShape As InlineShape
For Each oInlineShape In ActiveDocument.InlineShapes
oInlineShape.Select
Selection.Cut
Selection.PasteSpecial placement:=wdInLine, datatype:=14
Next
'call loopshapes
loopShapes
End Sub
Sub loopShapes()
'iterate the shapes that are pictures and are not inline
Dim oShape As Shape
For Each oShape In ActiveDocument.Shapes
If oShape.Type = msoPicture And oShape.WrapFormat.Type <> wdWrapInline Then
'select the shape and it becomes the ShapeRange of the selection
oShape.Select
'call shapeFix and pass the ShapeRange
shapeFix Selection.ShapeRange
End If
Next
End Sub
Sub shapeFix(shp As ShapeRange)
Dim lLeft As Long
Dim lTop As Long
Dim rHoriz As Integer
Dim rVert As Integer
Dim rng As Range
'get the current relative position along with the top and left values
lLeft = shp.Left 'left relative
lTop = shp.Top 'top relative
rHoriz = shp.RelativeHorizontalPosition
rVert = shp.RelativeVerticalPosition
'cut the ShapeRange
shp.Select
Selection.Cut
'move up a line to get the correct position to paste
Selection.MoveUp wdLine, 1
Set rng = Selection.Paragraphs(1).Range
rng.Select
'pasteSpecial
Selection.PasteSpecial placement:=wdInLine, datatype:=14
Set shp = rng.ShapeRange
'format the ShapeRange (Shape)
shp.WrapFormat.Type = wdWrapTight
shp.RelativeHorizontalPosition = rHoriz
shp.RelativeVerticalPosition = rVert
shp.Left = lLeft
shp.Top = lTop
End Sub
I hope this helps.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Thanks!
Adrian
Microsoft Online Community SupportThursday, November 11, 2010 4:32 PM -
It looks like cutting and pasting the pictures back into the document is the only way to fix all of them. Compressing all the pictures fixes some but not all. The code causes formatting problems. There are so many doucuments that have this problem it isn't feasable to cut and paste pictures back into all of them. I have no choice but to keep Word 2003.
- Marked as answer by Jennifer Zhan Thursday, November 18, 2010 7:15 AM
Thursday, November 11, 2010 6:38 PM -
http://www.cydeweys.com/blog/2008/06/26/how-to-fix-images-not-displaying-in-microsoft-word-2007/
I have WORD 2010 and I found this link on the web. Go to File> Options> Advanced> Show document Content and uncheck "Show Picture Placeholders"
- Proposed as answer by rbnking Friday, August 31, 2012 3:07 AM
Wednesday, May 16, 2012 8:48 PM -
After saving files from doc to docx i had same problem - black boxes instead of images.
In word2010 File> Options> Advanced> Show document and check "Do not compress images in file"
Helped me.
Thursday, September 19, 2013 12:45 AM