Hi,
The Images are stored in a folder under your roms directory named media.
For Example
/roms/mame/media
The information associating rom names and images is stored in mame.xml file in your roms folder