Welcome Guest, Not a member yet? Register   Sign In
[solved] changing images with jquery
#2

[eluser]Madmartigan1[/eluser]
Yeah, it's stuck in the browser cache.

You can try appending some random junk to the end of the filename:

worker.jpg?timestamp=1234567890

You can leave worker.jpg on the server and make the new file worker3.jpg instead.
You can display the image in an iframe, and refresh the iframe when the new image is uploaded.

Can't think of anything else. I looked for a solution to this myself (doing image cropping) and never found one that was perfect.


Messages In This Thread
[solved] changing images with jquery - by El Forum - 01-03-2011, 08:22 AM
[solved] changing images with jquery - by El Forum - 01-03-2011, 08:54 AM
[solved] changing images with jquery - by El Forum - 01-03-2011, 09:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB