How do I replace an image or other media in my course and the Media Library?
The media element retains any actions, linked targets, and image maps you added to the original.
NOTE: If you replace an image with another of a different size and the original had an image map added to it, the image map hotspots will likely be out of position.
See The Media Library, Replace Media Assets, and Change Media Asset for more information.