1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

.JPEG file icon problem

Discussion in 'Legacy Windows' started by kenton, 2004/01/22.

Thread Status:
Not open for further replies.
  1. 2004/01/22
    kenton

    kenton Inactive Thread Starter

    Joined:
    2004/01/21
    Messages:
    158
    Likes Received:
    0
    Some problem with .jpeg file icon: currently all my .jpeg files have IE icon.
    I tried changed icon to normal from Windows Explorer >File Types >Change icon. But in File Types > in "Registered file types" are shown *correct* .jpeg icon, so it's does not require changes. Even if I try edit icon, it doesn't hold the change. But in desktop and folders all my .jpeg files have IE icon. For example, all .gif files have standard correct icon, and opens with IE.

    Some time ago I used Sierra Image Expert on my Windows98se (other than the program itself, the installation procedure changed the default viewer of .jpeg files from Internet Explorer to Image Expert, with the icon being changed). Further I switch off the program preference "Use Image Expert as the default viewer for jpeg files "). Then I have changed manually the file association for my .jpg files to provide opening it with Internet Explorer(default). But how to restore .jpeg files icon to normal?

    kenton
     
  2. 2004/01/22
    RichC

    RichC Inactive

    Joined:
    2002/01/07
    Messages:
    66
    Likes Received:
    0
    If you have Tweak UI, you can try Repair>Rebuild Icons.
     

  3. to hide this advert.

  4. 2004/01/22
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    TweakUI is a good suggestion.
    But it bothers me that you are having problems only with .jpg files. Before trying Tweak, hold down Shift, right click on any .jpg file, click "Open With... ", scroll to "iexplore ", highlight, check box at bottom "Always use this program... ", click Apply, OK, Reboot.
    I know this sounds like approaching the problem from the wrong direction (since what you are doing is resetting .jpg's association), but sometimes Windows is strange.
    However if that does not work, TweakUI for Win98 available here
    http://www.microsoft.com/ntworkstation/downloads/PowerToys/Networking/NTTweakUI.asp
    and the tutorial here
    http://content.techweb.com/winmag/howto/sbs/tweakui/default.htm
    Or you could just delete the file called ShellIconCache and reboot.
    ShellIconCache is often hidden so check the box Show all Files in Start|Settings|Folder Options|View tab.
     
  5. 2004/01/23
    kenton

    kenton Inactive Thread Starter

    Joined:
    2004/01/21
    Messages:
    158
    Likes Received:
    0
    I have no TweakUI . Also, I heard that TweakUI has been known to corrupt the ShellIconCache.
    Is the deleting ShellIconCache safe? I try make this from MS-DOS, but something is incorrect:

    - first I remove the hidden attribute from the ShellIconCache file(from Windows Explorer)by unchecking mark for "Hidden" on this file.

    - then I restart PC in MS-DOS mode; when I get DOS command prompt, I type command: del shelliconcache, then press Enter. But get error: File not found

    -I tried also type DEL C:\WINDOWS\SHELLI~1 but get "Extended Error 2"
    I am not sure that I type correct "~ ", it looks some strange in DOS.
     
  6. 2004/01/23
    goddez1

    goddez1 Inactive

    Joined:
    2002/01/12
    Messages:
    2,975
    Likes Received:
    49
    Without even inquiring why you got a such a formal dos yelling "extended error 2" instead of a standard "file not found "....Maybe I should pay more attention to Dos errors. Is this a standard error exclamation? Darn, I said I wasn't going to ask....

    You can just delete this file while within windows. Do a "file find" and when found "delete" it. Reboot and it will be rebuilt.

    =====
    Older versions of tweakui did have quirks a user must be aware of. The newest version is less problematic. On a personal note I've used most powertoys since they first came to be. Tweakui has never corrupted my iconcache. I believe this quirk is version specific and occured if used to change the arrows on shortcuts. As I said you have to be aware of quirks. In case you change your mind:
    http://www.windows-help.net/windows98/tweakui2000.shtml
     
    Last edited: 2004/01/23
  7. 2004/01/23
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    I feel the cart has gotten in front of the horse. :D
    kenton's problem is only with .jpg file icons, not all icons. And he had that Sierra Image program installed which quite possibly has messed something up.
    Even though kenton says "... I have changed manually the file association for my .jpg files to provide opening it with Internet Explorer(default) ", whatever he did, did not cure the problem.
    I would think the first thing to do is to make sure the association of .jpg files with iexplore is set, rather than play with Shelliconcache or Tweak's Repair.
    As suggested earlier "hold down Shift, right click on any .jpg file, click "Open With... ", scroll to "iexplore ", highlight, check box at bottom "Always use this program... ", click Apply, OK, Reboot. "
    Now if that does not work, kenton can always try Shelliconcache, etc.
     
    Last edited: 2004/01/24
  8. 2004/01/23
    broni

    broni Moderator Malware Analyst

    Joined:
    2002/08/01
    Messages:
    21,701
    Likes Received:
    116
    I don't understand something.
    Every graphic file displays an icon of a program, it is supposed to be opened with.
    What is your basic prgram, which opens your graphic files?
    On one hand you say:
    which means to me, you open your your graphic files with IE...then you complain, that .jpeg files have IE icon next to them. Since IE is set to open your graphic files, they will have IE icon associated with them.
    What do you want to open your .jpeg files with?
     
  9. 2004/01/24
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    broni--
    I have no clue as to why, but both .jpg and .gif files open with IE by default and yet they have two different icons (at least they do on my PC) and in neither case is it the IE icon. Similarly .mht files (Web Archive), which also open with IE, have their own icon--not the IE icon-- whereas .htm files do have the IE icon.
    So it is not always the icon of the program that opens the file that shows, but but sometimes the icon of the file being opened. Maybe Bill did it this way to help recognition of different file types.

    P.S. there are lots more examples. Go to Start|Settings|Folder Options|File Types| and go down the list, highlight each file type to see that the icon of the file type ( "extension " line) and the icon of the program that opens the file type ( "Opens with" line) often differ.
     
    Last edited: 2004/01/24
  10. 2004/01/24
    broni

    broni Moderator Malware Analyst

    Joined:
    2002/08/01
    Messages:
    21,701
    Likes Received:
    116
    Welshjim
    Now, you got me confused...LOL...
    I have all my graphic files set to be opened with Irfanview, and they all display Irfanview icons, so I really don't know what the deal is.
     
  11. 2004/01/24
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    broni--No need to be confused. Irfanview just does it differently from IE. If you like to see Irfanview's icon, then things are set correctly for you.
     
  12. 2004/01/24
    broni

    broni Moderator Malware Analyst

    Joined:
    2002/08/01
    Messages:
    21,701
    Likes Received:
    116
    OK, then...LOL
     
  13. 2004/01/24
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    broni--I meant to ask in my earlier post whether you had looked at Folder Options|File Types to see,for files other than image files, how the icons for files often differ from the icons for the application used for opening the files.
    I hope you can believe that I am only trying to unconfuse this issue.:)
     
  14. 2004/01/24
    Zander

    Zander Geek Member Alumni

    Joined:
    2002/01/07
    Messages:
    4,084
    Likes Received:
    5
    I've been kind of confused here too and it's the reason I've stayed out of this up till now. After thinking about this a while I think I understand now. It's been so long since I used IE for pics I'd forgotten. When you use IE as the default jpg and gif viewer, they arent' given the IE icon. By default they have an icon that looks like a piece of paper with a picture frame and a paint brush in the middle of it. There are two of them. One has red in the middle of the picture frame and the other has green. I don't remember which is which, but one is for jpg files and the other for gifs. You can view them by right clicking on any shortcut on the desktop and click change icon. Then click the browse button and browse to wherever Iexplore.exe, select it and you'll see them there. I suppose the problem here is that gifs were given the correct icon of the two but jpg files somehow got the regular IE icon (blue E). Not really sure how to fix it but I thought I'd post this and maybe clear up the confusion (or maybe add to it :) ). It could be that deleting the shelliconcache file would fix it. If that doesn't do it, it might be time to look to the registry.
     
  15. 2004/01/25
    merlin

    merlin Inactive

    Joined:
    2003/01/07
    Messages:
    1,111
    Likes Received:
    0
    There are registry keys for showing up the actual icon (if any) in
    a .dll and .exe and also for showing .gif and .bmp icons as the
    originals - and not the icon of the viewer you use.
    Here's an example
    [HKEY_CLASSES_ROOT\giffile\DefaultIcon]
    @= "%1 "
    With a .jpg there is no registry fix that I know of.
    In Windows Explorer I seem to recall you can customize a folder
    to show the .jpg file icons. (?)
    I use a program called VueIcons (supplied with ViewPrint Pro) to
    show my original .jpg icons. It comes from Hamrick SW,
    but is not gratis.
    regards
     
  16. 2004/01/25
    Zander

    Zander Geek Member Alumni

    Joined:
    2002/01/07
    Messages:
    4,084
    Likes Received:
    5
    Ok, I did some experimenting here and managed to find the keys that designate the icon. There's two of them and if either one of them is wrong it will display the wrong icon. The first one is
    HKEY_CLASSES_ROOT\jpegfile\DefaultIcon and the data should read C:\PROGRA~1\INTERN~1\iexplore.exe,8. The number at the end is what designates the icon. If it's anything other than 8, change it. The path may vary of course, depending on where you have IE installed to. The second key is HKEY_LOCAL_MACHINE\Software\CLASSES\jpegfile\DefaultIcon. The data should read the same as the first one. Again, check the number at the end of the string.
     
  17. 2004/01/25
    merlin

    merlin Inactive

    Joined:
    2003/01/07
    Messages:
    1,111
    Likes Received:
    0
    Zander, thanks for the info.
    I have both these registry keys as you describe them.
    I presume they were put there by Hamrick's SW.
    I know I didn't add them.
    The only advantage of Hamrick's VuePro as I see it,
    is that it creates a cache of icons and this produces quicker
    displays of folders with .jpg files - but at a cost - my cache file is
    about 3 mega.
    regards
     
  18. 2004/01/25
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    Zander and Merlin--Very interesting!! I have learned something. Thanks. :)
    Anyway in hopes of unconfusing things and putting them at the lowest level of understanding
    1) For Broni--This is what I mean when I say the icon for the file does not match the icon for the program that opens the file--at least not in IE
    http://www.imagestation.com/picture/sraid101/p6a0b1492b6731b014a7d36cac3ceddb5/f9d406e6.jpg
    2) For kenton-- this is the result of associating .jpg files with IE when you follow my suggestion about "Hold Shift, right click, click "Open With... ", etc. "
    http://www.imagestation.com/picture/sraid101/p6d00f8f7374c803a09aa3bc7e4143000/f9d42883.jpg
     
    Last edited: 2004/01/25
  19. 2004/01/25
    broni

    broni Moderator Malware Analyst

    Joined:
    2002/08/01
    Messages:
    21,701
    Likes Received:
    116
    Welshjim
    Things are getting even more interesting.
    When I go to "File types ", .jpeg, for instance, is associated with PictureViewer (I believe, that was my original association), and it has PictureViewer icon next to it, but when I go to Windows Explorer all my graphic files (including .jpeg) have Irfanview icon next to them (Irfanview currently is my default viewer).
    Go figure.
     
  20. 2004/01/25
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    broni--Now you have me confused !! :D
    Must have something to do with the Registry keys discussed by Zander.
    In Irfanview, Options|Properties|Extensions is the box to the left of JPG checked? If so, you may have had .jpg files associated with Picture Viewer in the past and making IV default did not overwrite the File Types setting, although IV apparently is overriding Picture Viewer when it comes to opening .jpg files.
    I wonder what the File Types setting would look like if you did the Shift+Right Click| "Open With..." thing and chose Irfanview (I_VIEW32). ;)
     
    Last edited: 2004/01/25
  21. 2004/01/25
    Zander

    Zander Geek Member Alumni

    Joined:
    2002/01/07
    Messages:
    4,084
    Likes Received:
    5
    Jim
    It's a possibilty that broni's problem is caused by what you mentioned or at least something similar. I've been messing with this in win98 being that that's the forum we're in and when I first looked at my file types I had the same type of thing broni does. The jpeg file was shown as opening with IE and just below that there was Irfanview. Not Irfanview jpeg or Irfanview bitmap; just Irfanview. When I clicked on it, at the bottom of the window where the edit button is it said Irfanview and then just had a list of all the files I had associated with it. Jpeg was one of them. This was before I went searching for the registry keys. So, I had Irfanview associated with them and yet I still had the IE keys. I was wondering about this too and happened to check the properties in Irfanview and none of the boxes for any file types were checked. Now, I'm pretty sure I know what happened here. A while back when I installed the newest version of Irfanview I skipped the part for selecting file types and I imagine the boxes stayed unchecked yet the associations remained. Perhaps this is where I got the IE keys back or where things went a bit goofy. Windows has a way of putting back things it deems necessary you know. Anyway, while in the properties I clicked the button that says select all image files (or whatever) , closed it out and then went back and had a look at the file types. The jpeg file entry for IE was gone and there was a big long list of Irfanview image files (an entry for each type) instead of the one lone entry that had all the file types listed at the bottom. I then checked the registry and the IE entries were gone. I have yet to reboot but when I do, I think I'll take a look and see if they stay gone (curiosity). Whatever the case I wouldn't lose to much sleep over it. If things work right and open with the progam you want, who cares what the file types window thinks? :)
     
    Last edited: 2004/01/25
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.