Yes its browser security, you need to load the images from the server and not directly from the drive, I dont know what you are trying to do, but this wont work on client side as the user may not have c: drive or the images.
- Abdullah On Thu, Sep 2, 2010 at 10:39 AM, Andrew Hughes <[email protected]> wrote: > Hi Guys, > > Not by choice we need to load Images from a *file:///* url. > > For example... > > *Image myImage** = **new** **Image(**"**file:///c:/blah/blah.png**"**);* > > > This will produce (as seen in chrome+firebug) html that looks like... > > <img src="file:///c:/blah/blah.png"> > > > The problem, is that the image is never loaded. Chrome's Developer Tools > says that the image is 0px by 0px and when you look @ the Resources section > the browser has not even attempted to load the image. It's not that it's a > 404 or anything. > > Any idea's why this might be? Browser security perhaps? > > Cheers :) > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
