Hi everyone
I have a script which lets users upload their own thumbnail.
The users photo gets resized to 50 x 50 pixels when the upload is finnished.
But the problem is that when the user uploads and changes the thumb the new image is not loaded by the browser and it still shows the old one until the user refreshes the page.
This happens because I use the same image name for thumbs. For example if users ID on the database is 53 the thumb name will be 53.jpg
I know it would work if I change the file name each time the user uploads the file but the website is now up and runing so its almost impossible to change all of these images.
Is there any way to reload the image when the user uploads a new photo?
Any suggestions will be appreciated
Thanks / Behzad