I am building a php script to write texts over an background image.
I used GD functions like imagecopy(), imagejpeg(), imagedestroy() to merge save text image and the background image. Everything is working perfectly. Upon form submit, the new image will be saved in the same file name of the background image and so on page reload, the edited image is not showing on the browser. It needs me to refresh the page using ctrl + F5(on windows) to load the edited image. Can anyone help me how to clear that cache?
I am building a php script to write texts over an background image. I
Share
just add ?v=something to background path everytime you edit your background image, it will force refresh