Page 1 of 2 12 LastLast
Results 1 to 15 of 28
  1. #1
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File associations (All IE versions, I suspect)

    I suspect it has to do with the MIME Content Types -- and not the file extension associations.

  2. #2
    3 Star Lounger
    Join Date
    Nov 2001
    Location
    Upstate, South Carolina, USA
    Posts
    253
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File associations (All IE versions, I suspect)

    R2,

    Where do I "fix" this?
    Al
    "Do or do not do. There is no try." -- Yoda
    <img src=/S/flags/USA.gif border=0 alt=USA width=30 height=18>

  3. #3
    3 Star Lounger
    Join Date
    Nov 2001
    Location
    Upstate, South Carolina, USA
    Posts
    253
    Thanks
    0
    Thanked 0 Times in 0 Posts

    File associations (All IE versions, I suspect)

    When I click on a JPG file link in IE, I want the file to open with the application JPGs are associated with, in my case, this is PhotoEd. However, they always open in IE. Here's the behavior I am experiencing:

    Case 1 Clicking on a JPG link in IE opens the JPG in a browser window. So, the HTML below opens Test.JPG in the same IE window:

    [A href="Test.jpg"]Testing opening JPG file[/A] - using square brackets to fool the HTML interpreter

    The same IE behavior happens when I Ctrl-O a JPG file.

    Case 2 Clicking on a JPG file anywhere else, e.g., in a Windows explorer window, opens the JPG with PhotoEd.

    I have checked file associations - JPG, JPE and JPEG are all associated with PhotoEd.

    What's happening here? Thanks.
    Al
    "Do or do not do. There is no try." -- Yoda
    <img src=/S/flags/USA.gif border=0 alt=USA width=30 height=18>

  4. #4
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File associations (All IE versions, I suspect)

    That will not work the same way -- because you cannot select the "Browse in same window" option on a .jpg file.

    That being said, for every rule, there is a way to break the rule...

    This should be controlled using the Edit Flags for the File Type in question. Is it possible with JPG's -- I don't know. I will look into this later.

    It also might be possible to reassign the MIME types. Both these options will take some investigation... give me some time.
    Attached Images Attached Images

  5. #5
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File associations (All IE versions, I suspect)

    Ah, thank you R2; you are correct. I had an NT machine available when I looked, and thought Win 98 might be different. If you find the answer, please post back.

  6. #6
    4 Star Lounger
    Join Date
    May 2002
    Location
    Australia
    Posts
    549
    Thanks
    0
    Thanked 0 Times in 0 Posts

    JPG files

    Hi Phil, can I ask a really silly question pleeeeze? What do you guys mean when you say jpg file? I understand file associations for .jpg and pictures etc, but not the term jpg file?

  7. #7
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: JPG files

    All files can be separated into file types based on their file extensions. A .doc file (a DOC file) is generally associated with MS Word -- but it does not have to be. Regardless of the associated program, the file will always be a DOC file.

    A "JPG file" is an image file that has been compressed using the JPEG technology. These generally have the file extension .jpg or .jpeg.

  8. #8
    4 Star Lounger
    Join Date
    May 2002
    Location
    Australia
    Posts
    549
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: JPG files

    Hi R2, thanks for the reply, I totally understand the .jpg and picture stuff, use it all the time, but didn't know that .doc related to programs other than obvious stuff. It was the way the thread was reading that threw me, I figured maybe I was not understanding the answers to the question asked, glad to know I did - appreciate the clarification and you taking the time to explain, I am always keen to learn and you folks give me heaps to think about....... :-)

  9. #9
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File associations (All IE versions, I suspect)

    OK, can we make IE open a .jpg file with a program other than itself??

    There may be a BIG problem with doing this. Many web pages use .jpg images as the "pictures" on the page. If you disocciate .jpg images from IE, you may no longer seem images on web pages. Not good...

    It is very unlikely that PhotoEd can be integrated with IE. For example, Acrobat Reader DOES have this ability -- by using ActiveX -- but I most programs cannot do this.

    The more I think about this, the less likely I think you are going to be able to extract .jpg's from IE... But let's look at it for a second.

    The MIME Content Type for .jpg files is "image/jpeg'. This has a listed Class ID of {25336920-03F9-11cf-8FD0-00AA00686F13}. The Default value for this Class ID is "HTML Document" and the InProc32Server is C:WINDOWSSYSTEMMSHTML.DLL.

    This is very heavily integrated into the "Windows HTML Viewer" -- which is IE. What if we 'break' this integration?...
    __________________________________________________ _

    Hmmmm... doesn't work. Let me back track.

    Let's see if this works:

    Link to JPG image

    No, I still cannot quickly break the association. I am going to have to go through this systematically and work on breaking the association between the link to a .jpg file and IE. It must be possible, but it will time more time than I have this AM...

  10. #10
    3 Star Lounger
    Join Date
    Nov 2001
    Location
    Upstate, South Carolina, USA
    Posts
    253
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File associations (All IE versions, I suspect)

    Phil and R2,

    I can replicate this behavior on both W2K and XP (SP-1) systems. Each of these systems is running IE but, as I wrote in the Subject, I imagine that it applies to previous of IE, too. Somewhere in the dim and dark past I could swear that clicking on a JP* link in IE would spawn PhotoEd. Like R2, I am wondering if disassociating JP* image files from IE will result in unwanted behavior.

    Let me explain exactly what I want to do. For at least two years, I've had this (dreaded) project on my To Do list called, "Take photos of the stuff in all rooms in the house for insurance reasons." Well, I just installed Photoshop 7 and discovered that it has the capability of producing a "Web gallery" from a directory of images. It outputs a nice table of thumbnails, which one can click on to see a larger image of the photo. Well, even these larger (higher resolution) images often do not provide enough detail.

    I decided that I would go in an modify the HTML in the thumbnails page to include a direct link to the original digital photo. You can image that when IE renders this image in a window, it's gigantic. So, I created the link thinking that the image would open in PhotoEd, since my file associations are set that way, and, to my surprise, the image opened in IE.

    The attachment contains the HTML code I want to perform the above functions. It is a single cell from the table of thumbnails with square brackets substituted for angle brackets and with the instances of "percent-sign20" replaced with a space to ease reading:

    As you can see, clicking on the thumbnail is really clicking on an HTM link while the link "Full Size" is directly to a JPG file.

    Hope this is helpful.
    Attached Files Attached Files
    Al
    "Do or do not do. There is no try." -- Yoda
    <img src=/S/flags/USA.gif border=0 alt=USA width=30 height=18>

  11. #11
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File associations (All IE versions, I suspect)

    Hi Al:
    I was going to give instructions on how to add a right click option to a JPEG image to "Open with Photo Editor", but when I tried to do it, I must have left out a step. That way you wouldn't have to change any associations. I know there's a way to do it, as I added "Open with Netscape" to my context menu for internet shortcuts.

    In the meantime, you might consider just having Photo Editor open while you work on this project because you can always drag an image onto Photo Editor & have it displayed. Or you might want to try a freeware utility. You can find Irfanview listed under the software forum. Finally, PC magazine has a freeware utility called ContextEdit, that will edit the right click menu. (I don't have the URL with me.) You can then add that action to a JPEG file. I can post the steps for that, if you're interested.

    Lastly, don't forget to scan your receipts for larger items to show what you paid for items & store them out of your house. <img src=/S/smile.gif border=0 alt=smile width=15 height=15>
    Cheers,

  12. #12
    3 Star Lounger
    Join Date
    Nov 2001
    Location
    Upstate, South Carolina, USA
    Posts
    253
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File associations (All IE versions, I suspect)

    Phil,

    Do you mean that one can modify IE's context menu? Is that what you were referring to? Or did you mean that you added your "Open with Netscape" to your Windows explorer context menu. Outside of IE, both double-clicking on a JPEG or right-clicking and choosing "Open" invoke PhotoEd. It's only in IE that links to JPEG images are opened in IE. BTW, Netscape exhibits the same behavior. So, this seems like a fundamental issue to the OS (registry, somewhere....).

    If one could add "Open with PhotoEd" as an IE context-menu choice, that might be an interesting work-around to try. Given the in-bred association between IE and image files, I wish that there were a simple way to write a macro (script?) that clicking on an image would invoke.... I'll look into the utility pointers you mentioned.

    Thanks!
    Al
    "Do or do not do. There is no try." -- Yoda
    <img src=/S/flags/USA.gif border=0 alt=USA width=30 height=18>

  13. #13
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File associations (All IE versions, I suspect)

    Hi Al:
    I'm sorry. I should have been more specific. I added "Open with Netscape" to the context menu that opens when you right click an Internet Shortcut on the desktop or in Explorer. For the life of me, I can't recall if I did anything other than add the action under File Types. Maybe one of the more seasoned Windows experts will see this thread & be able to add some information.

    I have to believe that you can add something to a context menu in IE. In fact, I seem to recall a thread not too long ago where rmrucker was discussing how to add applications to the "Edit with" menu.
    Cheers,

  14. #14
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File associations (All IE versions, I suspect)

    Sorry, I need to spend a little time to go through this to get to the insides of how this works.

    As for the right-click Context Menus inside IE, there are controlled in the registry here:

    HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMenuExt

    Can we simply add something to that and make it open an image in PhotoEd?? It is worth a try...

  15. #15
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File associations (All IE versions, I suspect)

    Well, I can add it -- but can I make it work???

    It does not seem so... All of the other entries point to .htm files. Can I make an .htm file that opens an image program??
    Attached Images Attached Images

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •