in reply to image in <img> tag is not refreshed
Are you using the same name for the .jpg file each time you create a new one? If so, the browser is probably not asking the server for the new one because it thinks it already has it in it's cache. Use a new name each time you create a new jpg.
The md5 of the .jpg might make a good choice, or use File::Temp.
|
|---|