How to disable cache for images in all browsers

This tag was recommended by some developers but it may not work if you have dynamic file uploaded to your server.

<img src="my-image.jpg?cache=1">

The best tag you can add to display a brand new image is to use the function time() in php to generate different time for each time a photo was uploaded to your server.

<img src="my-image.jpg?cache=<?=time()?>">