Lets imagine u have a user profile image located at: images/deliver?uid=auser
This user (auser) uploads a new profile image. While he is on his own profile form i want to update the image that he has just uploaded without reloading the whole page.
So with fileupload i do register the event, so that once the upload is finished i change the src attribute to:
BUT! hmm its the same Oo so no browser in the world is reloading jack ****..
Then.. I add a Math.random() as token like:
That helps for firefox but as IE gets the content type of an image its completely ignoring the parameters (c'mon which image is accepting parameters Oo) and ignores also all the header attributes as private, generated and so on...
So i need a reload a REAL reload of the image although its the same URL.