On my local machine I have setup a test website with a virtual directory to C:\images\ called photos. I have a number of images which I have rotated via the Windows Rotate CW right click menu item. In AS, I have tried the following:
var loader:ImageLoader = new ImageLoader("../../../images/8255/8255692_Desert.jpg", {name:"test", container:this, width:150, height:100, scaleMode:"proportionalInside", bgColor:0xFFFFFF});
loader.load();
This loads the image with the correct rotation (the path is pointing to the same folder as the virtual directory, just relative). When I use the URL for the local website, the image shows in the original direction (not rotated). Below is the code:
var loader:ImageLoader = new ImageLoader("http://localhost/ImageService/photos/8255/8255692_Desert.jpg", {name:"test", container:this, width:150, height:100, scaleMode:"proportionalInside", bgColor:0xFFFFFF});
loader.load();
Also if I use the URL: http://localhost/ImageService/photos/82 ... Desert.jpg in my browser the image is rotated as expected. I have tried refreshing the app pool in IIS and restarting the website, but cannot get the image to load rotated (how it is saved). Any ideas?