Does the word "image" have the same definition in the next two sentences?

Although her popular image was contrived it served to inspire music and pageantry.

The number 6 is the image of 3 under f that is defined as f(x) = 2*x.
different meanings