After upgrading your Windows Vista computer to Windows 7, when you right-click on a JPG/JPEG image and click Edit, the following error message may appear:
There was a problem starting C:\Program Files\Windows Photo Gallery\PhotoViewer.dll The specified module could not be found.
This happens if Windows Photo Gallery was earlier the default image editor before upgrading to Windows 7. In Windows 7, certain features of the Windows Photo Gallery are cut down and it’s named Windows Photo Viewer. Also, PhotoViewer.dll and other files are moved to the “C:\Program Files\Windows Photo Viewer” folder.
The Windows Photo Gallery in Windows Vista provides a “Fix” button at the top which when clicked would show an additional pane that has the following tools:
- Adjust Exposure
- Adjust Color
- Crop Picture
- Fix Red Eye
This feature was removed in Windows 7, and the Windows Photo Viewer in Windows 7 can just be used to view images. As a workaround, Microsoft suggests that you use a different image editor and then associate it with the corresponding image file type. (REF: Why can’t I right-click a picture to edit it in Windows 7?)
You have the following options.
Option 1: Remove the “edit” verb from jpeg image file type
The “edit” verb for jpegfile class was carried over from your Windows Vista install. When you delete this entry, Microsoft Paint automatically becomes the default image editor for the specified file type. To remove the “edit” verb for jpeg files:
Launch Regedit.exe and navigate to:
Right-click edit and choose Delete.
(Note that the edit key doesn’t exist under jpegfile in a clean installation of Windows 7.)
Exit the Registry Editor.
Option 2: Set a Different Editor as the Default
Rather than deleting the entry, you can replace the (default) verb in the following key, pointing to a different image editor application:
Set (default) value accordingly, say “C:\Program Files\My Img Editor\editor.exe” “%1”
Option 3: Install Windows Live Photo Gallery
Download Windows Live Photo Gallery and run the setup.
Select Photo Gallery, plus other Windows Live products that you want to install.
Once installed, launch Windows Live Photo Gallery from the Start menu…
Click Yes when you’re asked to associate JPG, TIF, PNG, WDP, BMP, and ICO files with Windows Live Photo Gallery. Now, double-clicking an image file or choosing Edit from the right-click menu, will open Windows Live Photo Gallery.
Windows Live Photo Gallery provides a similar interface as the Windows Photo Gallery in Windows Vista, but has some (three more) additional tools in the right pane.
- Auto adjust
- Adjust exposure
- Adjust color
- Straighten photo
- Crop photo
- Adjust detail
- Fix red eye
- Black and white effects