I am making an uploading thumbnail using ajax and javascript. The thumbail file name is the same, just the folder is different. E.g., a listing named "abc", will have a thumbail: "abc/thumb.jpg". So far, everything works fine except when I replace the old thumb by upload the new. The thumnail won't be updated until I refresh the browser. Is there a way to reload/refresh the image when the image src does not change? Thanks in advances
its in the browser cache... i saw this example but have not tried it myself..basically when the image is done uploading you can force a refresh by appending a timestamp to the image...would be curious to know if the example below works. document.images.myImageName.src = 'picture.gif?' + now.getTime();