Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Displaying Thumbnails and Full-Size Images.

Displaying Thumbnails and Full-Size Images

Written by Allen Wyatt (last updated January 14, 2023)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021


3

Bob has some graphic images that he's captured in GIF format. He would like to display the image in his Word document as a small thumbnail, but then have the image display full size if someone clicks on the thumbnail.

We've seen this done on Web sites before, but not in Word documents. That doesn't mean it can't be done; it can be. Basically, you just need to use the same procedure that you would use in a Web page:

  1. Insert two copies of each image in your document, one full size and one thumbnail size.
  2. Convert the thumbnail image into a hyperlink that points to the full-size image.

Each of the skills necessary to complete these two steps (resizing graphics, adding hyperlinks, etc.) has been covered in other issues of WordTips. The only drawback to this approach is that you end up with two copies of each graphic in your document, which means that your document can get rather large.

You could, of course, put each full-size image in its own document and only put the thumbnails in your main document. Thus, if your main document included five thumbnail graphics you would end up with six documents—the main one and five documents each containing a single large graphic. When you set up the hyperlinks on the thumbnails in the main document, they would link to the individual graphics in each of the other documents.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (10973) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021. You can find a version of this tip for the older menu interface of Word here: Displaying Thumbnails and Full-Size Images.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Using the Copy or Move Text Keys

Most people use the Clipboard to copy and move text in Word. Before the Clipboard, Word used F2 to move text and Shift+F2 ...

Discover More

Word Documents from Excel Macros

You can use Excel macros to open and manipulate not just Excel workbooks, but also Word documents. This tip discusses ...

Discover More

How Operators are Evaluated

Operators are used in formulas to instruct Excel what to do to arrive at a result. Not all operators are evaluated in the ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (ribbon)

Unwanted Graph Paper Effect

When you open a document or start to use Word, do you see a background that looks like graph paper? It could be because ...

Discover More

Using the Drawing Grid

One of the lesser-known drawing tools provided in Word is the drawing grid. You can easily turn this feature on and use ...

Discover More

Graphics and Line Height

If the in-line graphics in your document appear "chopped off," it could be directly related to the formatting within the ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 4 + 9?

2023-01-18 20:47:44

Tomek

A few more details:
In the macro I selected the full scale to be 6 inches wide.
The line commented out would set the size 8x the size of the thumbnail.
In the demo file, I assigned Alt+T as the shortcut key.

Feel free to modify the macros to suit your needs.

Bob: if you read this please let me know if it was usable for you or if you have any questions. You can e-mail me directly.


2023-01-18 20:32:33

Tomek

It took me a while to digest suggestions in this tip and come up with an approach that may be closer to what Bob asked for, without resorting to having a second object (picture) somewhere and linking to it.
For my proposal to work without risk of degrading picture resolution you need to check “Do not compress images in file” (Word Options – Advanced – Image Size and Quality). You can do it for the particular file or for “All New Documents” created in the future. I also set the default Resolution to High Fidelity, just in case.
What I propose will use a macro saved within the document, so you need to save the document as .docm:
1. Place each of your full size pictures as floating images with “Text Wrapping” set to In “Front of Text.”
2. Move each image so that the left edge is close to the edge of the page. It will be fine-tuned later.
3. Position the picture (still full scale) on the page where it will be close to the relevant text. Make sure the image does not extend beyond the page. Make sure to follow the steps below to fix the top left position of the image. When re-scaled to thumbnail size, the top-left corner of the image will stay where it was.
4. Fix the position of the picture on the page: Select the picture, click on the layout options (small icon to the right of the picture) and select Fix position on page.
5. Rescale the image to fit within the margin using “Size and Position” dialog box (available when you right-click on the picture). I set the Width of my pictures to Absolute 0.8”, and the horizontal position to Absolute position 0.15” to the right of Page. Make sure that the “Lock aspect ratio” is checked, although the macro will force it anyway.
6. While I suggest that all thumbnails are kept the same width to fit inside the left margin, you must decide at what size you want to display the full-scale images. For ease of use you can select either 100% of original size (if it fits on the page), another percentage of original, or a specific width in inches. This will be hardcoded in the macro and will apply to any image you select.
7. It is best to assign a shortcut key to run the macro (you can find out how in other tips). To use the macro, click on (select) the image you want (single image only), and press the shortcut key, The macro will check the size of the image; if it is wider than 0.8 inches it will be scaled down and become a thumbnail, otherwise it will be scaled up to whatever size is specified in the macro. Essentially, it toggles the size.
8. Actually you can skip resizing your images to thumbnails in step 5, just use the macro on full scale images once they are positioned.
I have posted a demo document for this approach in my OneDrive and you can access it via the following link:

https://1drv.ms/w/s!AnwQtlPv1u28gvln9vytqk15Z5nOCw?e=jzV2YW

Because it is a docm you need to download the file and open it in Word desktop application, it does not work in web version.
As a bonus, in the demo, I have added a macro that will run when you close the document and it will check the sizes of all the floating mages in the document; If any of them is wider than 0.8 inches you will be asked if you want to reset it to thumbnail size.

Now, Here is the macro:

-----------------------------
Sub ZoomInOut()

    If Selection.Range.ShapeRange.Count <> 1 Then
        MsgBox "You need to select a single image!", vbCritical
        Exit Sub
    End If
    If Selection.Range.ShapeRange(1).Width > InchesToPoints(0.8) Then
        Selection.Range.ShapeRange(1).LockAspectRatio = True
        Selection.Range.ShapeRange(1).Width = InchesToPoints(0.8)
    Else
        Selection.Range.ShapeRange(1).LockAspectRatio = True
        'Selection.Range.ShapeRange(1).ScaleWidth 8, msoFalse
        Selection.Range.ShapeRange(1).Width = InchesToPoints(6)
    End If

End Sub


2023-01-15 09:34:43

Kiwerry

Thanks, Allen.
I wondered whether there was any advantage to putting "each full-size image in its own document " rather than just linking to the original graphic file, so I carried out a brief test of the two possible methods. (Environment: W10, MS-365).

In both cases, Word came up with a message warning me that the link would be opening a potentially harmful document and asked me whether I wanted to continue.
On continuing, in each case, the application associated with the file (on my computer, IrfanView in the case of the jpg and Word in the case of the docx) was used to open it and displayed it.

My preliminary conclusions were

The downside of putting each graphic within a docx file is a small increase in the size of each file. The upside is that it can be formatted and displayed as one wishes.

The downside of simply linking to each graphic in its original file is that one has little control over what the user will see because one has little idea what software is associated with the graphic on the computer used. A further consideration is that the danger of the file being inadvertently deleted is possibly higher than it would be if it were in a docx file. It would be advisable, in any event, to put these external files in the same directory (folder) as the master document and use names which make it clear that these are subsidiary files of the master docx file.

HTH


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.