在“开始→运行”中输入“regsvr32 shimgvw.dll ”(启用图像预览);然后运行“regsvr32 shmedia.dll” (启用影像预览),注册DLL后应该会弹出窗口提示“……中的……成功”,按确定即可。如果要取消预览,比如取消视频预览,运行“regsvr32 /u shmedia.dll”即可。
不行的话再尝试:
“开始→运行”: 键入 regsvr32 C:\Windows\System\thumbvw.dll
转发,你试试:
缩略图不显示怎么办? (2009-04-04, 09:47) 解决这个问题的方法是使用后面提供的一个vbs脚本程序。这个vbs脚本程序专门修改与“缩略图”浏览方式相关的注册表项,从而恢复“缩略图”浏览功能。**
使用方法如下。**
1 打开记事本程序。**
2 把下面的vbs代码复制下来,粘贴到记事本里,一定是记事本,不是文本文档。**
3 在记事本里选择“另存为”,将文件命名为:repairimage.vbs,并保存到桌面或其他能快速找到的地方。**
4 鼠标双击 repairimage.vbs 脚本文件。**
5 OK**
'RepairImage.vbs**
'Start of Image Preview Repair**
'This section repairs the associations for Image Preview**
Option Explicit**
'Declare variables**
Dim WSHShell, p1, p2, p3**
Set WSHShell = WScript.CreateObject("WScript.Shell")**
p2 = "\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}\"**
p3 = "{7376D660-C583-11d0-A3A5-00C04FD706EC}"**
For Each p1 in Array(".art",".bmp",".dib",".gif",".jfif",".jpe",".jpeg",".jpg",".png",".wmf")**
WSHShell.RegWrite "HKCR\" & p1 & p2, p3**
Next**
p1 = ".tif"**
p3 = "{1AEB1360-5AFC-11d0-B806-00C04FD706EC}"**
WSHShell.RegWrite "HKCR\" & p1 & p2, p3**
p1 = ".tiff"**
WSHShell.RegWrite "HKCR\" & p1 & p2, p3**
p1 = ".htm"**
p3 = "{EAB841A0-9550-11cf-8C16-00805F1408F3}"**
WSHShell.RegWrite "HKCR\" & p1 & p2, p3**
p1 = ".html"**
WSHShell.RegWrite "HKCR\" & p1 & p2, p3**
'Start of Thumbnail Repair**
'This section repairs the view in Thumbnail mode of Explorer.**
p2 = "\CLSID\"**
p3 = "{25336920-03F9-11cf-8FD0-00AA00686F13}"**
For Each p1 in Array(".art",".bmp",".dib",".gif",".jfif",".jpe",".jpeg",".jpg",".png",".tif",".tiff",".wmf")**
WSHShell.RegWrite "HKCR\" & p1 & p2, p3**
Next**
MsgBox "Image Preview and Thumbnail View File" & vbCR & "Associations have been restored.", 4096, "Confirmation"**
Set WSHShell = Nothing
本地搭建的时候
缩略图保存的路径和你上传服务器后的路径不一样了,路径错了,所以不显示。逐个修改一下缩略图的地址,就可以了。
'RepairImage.vbs
'Start of Image Preview Repair
'This section repairs the associations for Image Preview
Option Explicit
'Declare variables
Dim WSHShell, p1, p2, p3
Set WSHShell = WScript.CreateObject("WScript.Shell")
p2 = "\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}\"
p3 = "{7376D660-C583-11d0-A3A5-00C04FD706EC}"
For Each p1 in Array(".art",".bmp",".dib",".gif",".jfif",".jpe",".jpeg",".jpg",".png",".wmf")
WSHShell.RegWrite "HKCR\" & p1 & p2, p3
Next
p1 = ".tif"
p3 = "{1AEB1360-5AFC-11d0-B806-00C04FD706EC}"
WSHShell.RegWrite "HKCR\" & p1 & p2, p3
p1 = ".tiff"
WSHShell.RegWrite "HKCR\" & p1 & p2, p3
p1 = ".htm"
p3 = "{EAB841A0-9550-11cf-8C16-00805F1408F3}"
WSHShell.RegWrite "HKCR\" & p1 & p2, p3
p1 = ".html"
WSHShell.RegWrite "HKCR\" & p1 & p2, p3
'Start of Thumbnail Repair
'This section repairs the view in Thumbnail mode of Explorer.
p2 = "\CLSID\"
p3 = "{25336920-03F9-11cf-8FD0-00AA00686F13}"
For Each p1 in Array(".art",".bmp",".dib",".gif",".jfif",".jpe",".jpeg",".jpg",".png",".tif",".tiff",".wmf")
WSHShell.RegWrite "HKCR\" & p1 & p2, p3
Next
MsgBox "Image Preview and Thumbnail View File" & vbCR & "Associations have been restored.", 4096, "Confirmation"
Set WSHShell = Nothing
********************************************************************
以上代码复制到记事本,重命名为 fixthumbnails.vbs 后双击运行,我前不久也遇到这个问题,就是这样解决的。
********************************************************************
PS:与一楼代码略有不同,希望对你会有所帮助。
********************************************************************
另,一楼所说“一定是记事本,不是文本文档”,还真不知道记事本和文本文档有啥区别,大概是想说写字板吧.....
文件夹里面有图片吗