Re: IE7 Printing WOImage issues
Brian Lakeman <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
I found a solution to this. Turns out all I needed to do was bind a string to the "key" attribute so that the image would be cached by the WOResourceManager. I had some actions that manipulated the image so I had to make sure and call removeDataForKey so that it didn't pull the old image out of the cache. -Brian On Feb 8, 2008, at 3:01 PM, Brian Lakeman wrote: > I've been banging my head against the wall trying to work around > this issue: > > I've got a WOImage that uses the data attribute bound to an NSData > object > to provide the image, and the mimeType defined accordingly. > > When viewing this in IE7 the image displays fine, if I try to print > the page, the image doesn't show up on the printout. If you right- > click on the image and try to "Save Picture as...", you get "error > 800700de". > > Works fine in other browsers. If the WOImage is bound with the > filename attribute, it prints just fine in IE7. > > I wrote a little app that displays /Library/WebServer/Documents/ > apache_pb.gif twice. One referenced with the filename attribute, > the other one referenced by the data attribute bound to an NSData > object populated by reading that file. One image prints, the other > one doesn't. > > I'm using WO 5.3 running on OS X Tiger. > > I wish I could tell all the users to not use IE7, but that's not an > option. > > Thanks > Brian >