Optimisation for sending image to client. Check if the picture is different