TIFF and TIF files opens in browser.

T

Thomas Madsen

Hi,

Does anybody know how to prevent TIFF (and TIF) files from opening
directly in the browser (IE 6 SP1 in WinXP Pro SP1) when clicking on
a link to such a file? I would prefer a dialog box asking me where to
save it instead of seeing it open in the browser, which often can't
show it anyway.

In Folder Options > File Types both TIFF and TIF files is set to
'Confirm open after download' but it doesn't seem to work. Where
can I change it then?
 
R

Ramesh

Thomas,

The best way is to delete the .TIF file association. So that you are
prompted with the "Open - With" box.

--
Regards,
Ramesh
(e-mail address removed)


Hi,

Does anybody know how to prevent TIFF (and TIF) files from opening
directly in the browser (IE 6 SP1 in WinXP Pro SP1) when clicking on
a link to such a file? I would prefer a dialog box asking me where to
save it instead of seeing it open in the browser, which often can't
show it anyway.

In Folder Options > File Types both TIFF and TIF files is set to
'Confirm open after download' but it doesn't seem to work. Where
can I change it then?
 
F

Frank Saunders, MS-MVP

Thomas Madsen said:
Hi,

Does anybody know how to prevent TIFF (and TIF) files from opening
directly in the browser (IE 6 SP1 in WinXP Pro SP1) when clicking on
a link to such a file? I would prefer a dialog box asking me where to
save it instead of seeing it open in the browser, which often can't
show it anyway.

In Folder Options > File Types both TIFF and TIF files is set to
'Confirm open after download' but it doesn't seem to work. Where
can I change it then?

Open Windows Explorer and go to Tools | Folder Options | File Types.
Scroll down to the file type in question and select it.
Click Edit or Advanced, depending on your Windows version.
Check the box for "Confirm open after download".
 
T

Thomas Madsen

Ramesh said:
The best way is to delete the .TIF file association. So that you are
prompted with the "Open - With" box.

The TIFF or TIF file still opens in the browser even if I delete the
two file asssociations.
 
T

Thomas Madsen

Frank said:
Click Edit or Advanced, depending on your Windows version.
Check the box for "Confirm open after download".

Thanks but, as I wrote, I have already tried that with no luck.
It still opens in the browser and I forgot to mention that right
clicking and choosing 'Open with' is not an option because my
newsreader doesn't support right clicking. I'm not only talking
about links on web pages to TIFF or TIF files. I'm talking about
links on Usenet, links in Start > Run and so on.
 
R

Robert Aldwinckle

Do you have a sample link to test with?
....

Thanks for those. FWIW here's what I got.
1. Downloading image
2. Then nothing!
3. I Opened an IE window with your other links
4. Set Work Offline
5. Dragged .TIF link to IE window
6. Must have been in cache because it opened instantly
7. Clicked on link in your message again
8. Again signs that something would happen but nothing!

I think that you haven't shown the most important part of
the association--the Open action. FWIW here is mine:
<example>
Action: open
Application used to perform action:
rundll32.exe D:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1
Use DDE: (checked)
DDE Message: (blank)
Application: shimgvw
DDE Application Not Running: (blank)
Topic: System
</example>

And the same thing from the command line:
assoc | find /i "tif" ..p7c=certificate_wab_auto_file
..sst=CertificateStoreFile
..tif=TIFImage.Document
..tiff=TIFImage.Document
..uti=SpybotSD.UTIFile

ftype | find /i "TIFIm"
TIFImage.Document=rundll32.exe D:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1

</example>

ICIM my version of that .dll is 6.0.2800.1106


I have three main differences in my Edit File Type display:
1. Mine is stock XP. (I don't have ACDSee.)
2. Set default is not used!? (Yours is greyed implying that Open
is the default action)
3. Nothing is checked. (in particular not Confirm open...)


I changed #2. (Clicked on Set default for Open.)
but that didn't change my symptom of nothing opening
when launching the link from OE.

I then copied the link to the IE Address bar.
(Why didn't I think of that before setting default? ;( )
Anyway It works fine from there.


My guess is that all will be revealed by your Edit File Type display.
(It will explain why you are getting an IE window launched.)


BTW if you Shift-RightClick on a .tif file in an Explorer
window (e.g. in the "TIF" viewer (Temporary Internet Files)
Alt-T,O,Alt-S,V ...) do you get any extra menu items for
your ACDSee app?


HTH

Robert
 
T

Thomas Madsen

Robert said:
1. Downloading image
2. Then nothing!

Thanks for your help Robert.
Does it mean that IE asked you where to save the file?
I think that you haven't shown the most important part of
the association--the Open action.

It's identical to your settings:
<http://home18.inet.tele.dk/madsen/ie/open_tif.png>
<http://home18.inet.tele.dk/madsen/ie/open_tiff.png>

The 'Application used to perform action' says:
rundll32.exe C:\WINDOWS\System32\shimgvw.dll,ImageView_Fullscreen %1

From the command line:

C:\>assoc | find /i "tif"
..p7c=certificate_wab_auto_file
..qtif=
..sst=CertificateStoreFile
..tif=TIFImage.Document
..tiff=TIFImage.Document
..uti=SpybotSD.UTIFile

C:\>ftype | find /i "TIFIm"
TIFImage.Document=rundll32.exe C:\WINDOWS\System32\shimgvw.dll,ImageView_Fullscreen %1

The .qtif= is QuickTime but it isn't associated with neither TIF
nor TIFF. I have even tried to uninstall Quicktime just to be sure
but it didn't make a difference.
ICIM my version of that .dll is 6.0.2800.1106

You mean shimgvw.dll, right?
Mine is also 6.0.2800.1106.
I have three main differences in my Edit File Type display:
1. Mine is stock XP. (I don't have ACDSee.)

What is "stock XP"? The first version of WinXP, or?
Mine is SP1 (Pro).

I have looked and looked in ACDSee but haven't found anything
that could make ACDSee the main suspect, but maybe I should
try uninstall it. I don't know.
2. Set default is not used!? (Yours is greyed implying that Open
is the default action)

Yes, Open is the default action here.
3. Nothing is checked. (in particular not Confirm open...)

Hmm. Strange.
BTW if you Shift-RightClick on a .tif file in an Explorer
window (e.g. in the "TIF" viewer (Temporary Internet Files)
Alt-T,O,Alt-S,V ...) do you get any extra menu items for
your ACDSee app?

Yes. I get this:
<http://home18.inet.tele.dk/madsen/ie/context_menu.png>.
 
R

Robert Aldwinckle

Thomas Madsen said:
Thanks for your help Robert.
Does it mean that IE asked you where to save the file?

No. I suspect that may be due to not having "Confirm open..." checked.
Apparently it just gets downloaded into the TIF.

Yes. I just confirmed that. (It allowed me a way of saving the .tif
image to a different location while offline! So I wouldn't even need
to open the TIF to get at it. Unfortunately doing that apparently
deletes the TIF copy. See below.)
It's identical to your settings:
<http://home18.inet.tele.dk/madsen/ie/open_tif.png>
<http://home18.inet.tele.dk/madsen/ie/open_tiff.png>

The 'Application used to perform action' says:
rundll32.exe C:\WINDOWS\System32\shimgvw.dll,ImageView_Fullscreen %1

From the command line:

C:\>assoc | find /i "tif"
.p7c=certificate_wab_auto_file
.qtif=
.sst=CertificateStoreFile
.tif=TIFImage.Document
.tiff=TIFImage.Document
.uti=SpybotSD.UTIFile

C:\>ftype | find /i "TIFIm"
TIFImage.Document=rundll32.exe C:\WINDOWS\System32\shimgvw.dll,ImageView_Fullscreen %1

The .qtif= is QuickTime but it isn't associated with neither TIF
nor TIFF. I have even tried to uninstall Quicktime just to be sure
but it didn't make a difference.

It wouldn't. It's just another artifact of the loose search that we did.
E.g. we both could have done the following but I wanted to make sure
that we didn't miss anything which might have been significant.

assoc | find /i ".tif"
.tif=TIFImage.Document
.tiff=TIFImage.Document

</example>

What would be interesting to know now though is if ACDSee
has any entries displayed by either the assoc or ftype commands.

You mean shimgvw.dll, right?
Mine is also 6.0.2800.1106.


What is "stock XP"? The first version of WinXP, or?
Mine is SP1 (Pro).

Yes. Sorry. XPsp1 Pro.

I have looked and looked in ACDSee but haven't found anything
that could make ACDSee the main suspect, but maybe I should
try uninstall it. I don't know.


Yes, Open is the default action here.


Hmm. Strange.


Yes. I get this:
<http://home18.inet.tele.dk/madsen/ie/context_menu.png>.

Was that Shift-RightClick or just RightClick?

RightClick gives me

Preview
Edit
Print
---
Open With...
Windows Picture and Fax Viewer
Paint
Internet Explorer
---
Choose Program...
---
(etc.)

Shift-RightClick gives me one additional entry:
Pin to Start Menu

(What the heck does that do? ;o )

Anyway, Preview (the default action) seems to be equivalent to
Open With... Windows Picture and Fax Viewer
and Edit seems to be equivalent to
Open With... Paint
Open With... Internet Explorer again does nothing.
However, I just noticed that the Explorer Details section
does show a thumbnail of the .tif image. Neat!

Hmm... all that was actually using the copy that I made from the TIF.
When I went back to the TIF and tried to do it there I found that the .tif
image had been deleted! So I had to download it again. This time
instead of opening it from the OE message I opened it from an IE
Address bar. Now, whether due to my changes or due to it being from
IE I don't know, but I got the prompt, chose Open and that evidently
downloaded the file into the TIF and then caused the
Windows Picture and Fax Viewer to open. Presumably I could have
chosen Save instead and then been able to use all the tools that those
right-click menus show us because (surprisingly) right-click on the .tif
image while in the TIF only shows the standard actions. Presumably
also I can still do what I did above and "download" it again directly from
the TIF and this time use the Save button. However, I notice that the WPAFV
has a toolbar at the bottom with what I assume will comprise the equivalent of
all those menu items so that could mean that it is unnecessary to open
an Explorer window or know about those right-click menu items after all.

I'm curious to know how all those menu items are getting hooked in there
but don't have time to investigate that right now. Here's a start though:

ftype | find /i "shim"
emffile=rundll32.exe D:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1
giffile=rundll32.exe D:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1
jpegfile=rundll32.exe D:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1
Paint.Picture=rundll32.exe D:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1
pjpegfile=rundll32.exe D:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1
pngfile=rundll32.exe D:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1
TIFImage.Document=rundll32.exe D:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1
wmffile=rundll32.exe D:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1
</example>


HTH

Robert
---
 
T

Thomas Madsen

Robert said:
What would be interesting to know now though is if ACDSee
has any entries displayed by either the assoc or ftype
commands.

I can't find any but maybe deep down in the registry somewhere.
Was that Shift-RightClick or just RightClick?

Sorry. It was RightClick only.
Shift-RightClick gives me one additional entry:
Pin to Start Menu

(What the heck does that do? ;o )

I don't know and I don't see such an entry. Shift-RightClick and
just RightClick on a TIF or TIFF, gives me exactly the same context
menu.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top