Hi all,
I have a form that allows the user to upload a picture. Each time the user uploads a picture, it is given the same name as the last one they uploaded and the old one is overwriten. This is working fine. On the same page is a preview of the current pic. What is happening now is when a new picture is uploaded, the old one is still displayed (the first time the template runs). If the user hits "reload' then the 'real' new pic shows up. Is there any way to make the template reload the new pic upon submition?
I have a form that allows the user to upload a picture. Each time the user uploads a picture, it is given the same name as the last one they uploaded and the old one is overwriten. This is working fine. On the same page is a preview of the current pic. What is happening now is when a new picture is uploaded, the old one is still displayed (the first time the template runs). If the user hits "reload' then the 'real' new pic shows up. Is there any way to make the template reload the new pic upon submition?