do not perform animation on image if the new image is the same
added function docs