Link to home
Create AccountLog in
Avatar of Raymond123
Raymond123

asked on

Unable to rotate TIF images in Windows Picture and Fax Viewer after IE7 upgrade

Hi there

We have an application called Document Viewer that retrieves TIF images off a filesystem for viewing via Internet Explorer.  IE opens the TIF image, and calls the default TIF file association to display the image (we're currently using Windows Picture and Fax Viewer).  Some of the images are faxed documents, where the orientation of the document is incorrect, so the users need to be able to rotate the document.

This functionality worked fine in IE6, but it seems like MS$ have changed IE7 - the Temporary Internet Files folder is now a hidden system folder.  It seems like IE7 is thus opening the TIF's in read-only mode, and thus when users try to rotate the images, the Picture and Fax Viewer cannot then resave the TIF image in it's rotated format.  So when you rotate the image the dimensions are all messed up and the image is unreadable.  In fact the Picture and Fax Viewer throws an error about the image being in read-only mode:-

Because this image is read-only, the rotated version cannot be saved using the same file name. To save it, click Copy To and give it a new file name.

I've tried installing hotfix 896269 (http://support.microsoft.com/kb/896269).

If I copy the image out of Temporary Internet Files, and double click to open in Windows Picture and Fax Viewer, I can rotate it fine.  The permissions on the actual Temporary Internet Files folder and subfolders is fine - the user i'm using has Full Control and I can create files/edit files without a problem.  So it's just when IE7 opens the files that it's a problem.

There are very few free TIF viewers out there that can handle multiple page TIF's, that are free for commercial use.  We've look at AlternaTIFF, IrfanView etc but they require licenses for corporate use, and we'd like to try get away with a free one if possible as we have roughly 400 workstations.

Any ideas?

thanks
Raymond
Avatar of warrenbuckles
warrenbuckles

Hello Raymond123:

This might help you - it's nothing of my own but I do remember moving the temporary folder before - if this fixes your problem then Diana Huggins (wherever she is) should get the points:
----------------------------------------
Move The Temporary Internet Files Folder In Internet Explorer 7
by Diana Huggins on February 23, 2007 at 12:39 pm · Comments
Categorized by Diana's Tips / Related Information

By default, the Temporary Internet Files folder is stored on the system partition, which is usually C:. This folder can become quite large and consume valuable disk space. If you have multiple volumes on your computer, you can move this folder to a volume that has more space and is used less frequently.

To do so, open Internet Explorer, click the Tools menu, and click Internet Options. From the General tab, click the Settings button under Browsing History. From the Temporary Internet Files and History Settings dialog box, click the Move Folder button. Browse to the location where you want to folder to be stored and Click OK. Click OK to close the Temporary Internet Files and History Settings dialog box and Click OK to close the Internet Options dialog box.
------------------------------------------

wb
Avatar of Raymond123

ASKER

Hi warren

Thanks for the post - unfortunately all our workstations have a single partition so moving to another partition is not an option.  I'll try moving the temporary internet files around and see if it helps at all though, although i think i have already tried this.

Thanks
Ray
I don't think it is necessary to move it to another partition - that was part of the solution for the issue in the original post that I 'borrowed.'  You can just move it to a visible folder.   You could also try moving it to a shared folder - that would ensure that the folder has wider read/write permissions.  By 'shared' I mean a local folder that has been marked shared among the users of the computer (even through there may be only one user).  You could also try sharing a folder at the network level and dropping the Temporary folder in there.  However, this might expose it too widely.

Neither of these will work if Explorer is setting restrictive permissions on each write.  

Another way would be to create a background task that copied the temporary file to a public file then have your users look at that public file.

wb
HI warren

I tried setting temporary internet files to a different location, but IE sets the folder to system and hidden every time it runs (even if i chance the attributes manually using the attrib command).  It's definitely not the folder permissions though - because if I close IE, then go into temporary internet files and find the cached image, and open it from there, i am able to rotate it fine (using the same user).

So it definitely seems like IE is opening the file in read-only mode for whatever reason (probably an IE7 security "feature").

We will probably look for a new TIF viewer and call that from IE instead of the Windows Picture and Fax Viewer.  The users open hundreds of images per day, so it would be impractical to copy the content elsewhere.

Ray.
Like you, I checked over the 'free' TIFF viewers to make sure there aren't any w/o commercial use license fees - no luck.

BUT - while checking them out I noticed that google is pushing Picasa as a TIFF viewer.  I looked over the EULA - it restricts resale or modification for resale but is unclear on corporate use.  Might be worth checking out.

wb
hey warren

just had a look at picasa - it doesn't seem to support multiple page TIF's, and it is also too cumbersome - we need something really lightweight - picasa is too complicated and will confuse our (very non-technical) users.

thanks anyway for your suggestions!

ray
ASKER CERTIFIED SOLUTION
Avatar of Raymond123
Raymond123

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
OK by me - we didn't figure it out, the Asker did.

wb
Closed, 500 points refunded.
Vee_Mod
Community Support Moderator