If the Windows Photo Viewer the navigation buttons (previous and next) or left and right arrows, and the slideshow button don’t work, this post tells you why this happens and how to fix the problem.
Scenario 1: Windows Photo Viewer Previous & Next Buttons Grayed out
The previous and next buttons may be disabled due to one of the following reasons:
- There is only one file in that folder.
- If there is more than one image file in that folder, the image files may have the “hidden” attribute set.
- Windows Photo Viewer file association settings are incorrect (most likely cause).
Also, the slideshow may not work — shows that single image only, although the slideshow button is enabled in Windows Photo Viewer. However, starting the slideshow from File Explorer’s Manage tab may work fine.
From what we’ve seen in the vast majority of the cases, #3 above is the usual root-cause. And in that case, the fix is to register the Windows Photo Viewer correctly, as in the article How to Restore Missing Windows Photo Viewer in Windows 10.
After applying the registry fix in that article, the previous and next (and Slideshow) buttons or left and right arrows should work fine, even if the image files are hidden or located in a network drive.
Scenario 2: Previous and Next buttons are enabled but not working
In some cases, the Windows Photo Viewer’s Previous & Next buttons may be enabled (not grayed out), but they don’t preview the previous or next image in that folder. Or it may preview only certain file types (skipping a certain file type) when scrolling through the images in a folder.
This happens if the PropertyHandlers registry entry for that particular file type (which is being skipped) is not registered correctly. This issue can be seen especially for WebP (.webp
) file type.
Fix for WebP file type
To fix the scroll/preview issue for .webp file types, download and install the Google WebP Codec for Windows via the following link:
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/WebpCodecSetup.exe [WebpCodecSetup.exe - file info] Verified: Signed Signing date: 5:55 AM 1/13/2016 Publisher: Google Inc Company: Google Inc Description: Setup program for WebP Codec for Windows Product: WebP Codec for Windows Prod version: 0.19.9.0 File version: 0.19.9.0 [SHA256 Hash] c7d57b93f93269e78ae0a0be660293822282edc5eefa7b304f17d621af334bdf
This setup package adds the following codec files on your Program Files folder and registers it:
- C:\Program Files\WebP Codec\WebpWICCodec.dll
- C:\Program Files (x86)\WebP Codec\WebpWICCodec.dll
It adds the necessary file association information along with the PropertyHandler value in the registry.
Windows Photo Viewer should now display .webp images correctly when you use the Previous or Next buttons or arrow keys.
Fix for all image file types (including .webp)
To fix the PropertyHandler for the most common image file types, use the .reg fix below:
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.gif] @="{a38b883c-1682-497e-97b0-0a3a9e801682}" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.jfif] @="{a38b883c-1682-497e-97b0-0a3a9e801682}" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.jpe] @="{a38b883c-1682-497e-97b0-0a3a9e801682}" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.jpeg] @="{a38b883c-1682-497e-97b0-0a3a9e801682}" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.jpg] @="{a38b883c-1682-497e-97b0-0a3a9e801682}" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.png] @="{a38b883c-1682-497e-97b0-0a3a9e801682}" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.tif] @="{a38b883c-1682-497e-97b0-0a3a9e801682}" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.tiff] @="{a38b883c-1682-497e-97b0-0a3a9e801682}" ;Let's use the jpg/jpeg's GUID for .webp file type as well... ;it is a nice workaround if you don't have the Google WebP codec installed. ;if Google WebP Codec is installed, the GUID {780cc6c8-1ca9-4e59-8225-c0f69e3ed512} is used instead. [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.webp] @="{a38b883c-1682-497e-97b0-0a3a9e801682}"
Create a .reg file from the above data and run the .reg file. Windows Photo Viewer scroll issue should now be fixed for the above image file types.
Additional Info
GUID: {a38b883c-1682-497e-97b0-0a3a9e801682} is the IPropertyStore Handler for Images
DLL file: %SystemRoot%\system32\PhotoMetadataHandler.dll [Built-in Windows module]
GUID: {780cc6c8-1ca9-4e59-8225-c0f69e3ed512} is the Codec/IPropertyStore Handler for WebP images
DLL file: C:\Program Files\WebP Codec\WebpWICCodec.dll [Google WebP Codec for Windows]