The problem that I and apparently even Aussie1 has is that when cover image is embedded in an audio file (as opposed to being stored on a separate image file), MC fetches the image bits from audio file and stores them in a temporary image file on the disk.
For mp3 files MC names the image file “MP3 Image – nnnn.jpg” (nnnn is a sequence number) and places the file on your TEMP directory in JRTemp folder. Then it replaces the TRACKINFO_INSERT_IMAGE symbol in track info HTML template by full pathname of the temporary image, e.g. “C:\TEMP\JRTemp\MP3 Image - 3928.jpg" and displays the resulting HTML. HTML interpreter finds this file because it gets full pathname to the file.
For FLAC files MC names the image file “flac_cover.jpg” and places it on your desktop, e.g. on “C:\Documents and Settings\User\Desktop\” (User is name of the user actually logged into XP). Then MC replaces the TRACKINFO_INSERT_IMAGE symbol in track info HTML template by “flac_cover.jpg” (without the path) and displays the resulting HTML. Now, HTML interpreter cannot find the image file anymore because HTML rules say that a relative reference to a file (actually to an URL) is to be found on the same directory as where the HTML file itself comes from. HTML file comes from template directory, e.g. “C:\Program Files\J River\Media Center 12\Visualizations\Track Info\Template” (Template is name of the actual template to be used) whereas image file is on “C:\Documents and Settings\User\Desktop\”. Hence is the problem.
Therefore it appears it is the problem in MC, not in FLAC decoder. Would MC do the same for FLAC stored images as it does for MP3 stored images then everything would be ok, I think.
However, I have solved this by adding the following line to <head> section in all my HTML templates:
<base href="file:///C:\Documents and Settings\User\Desktop\dummy">
Again, “User” above shall be name of the actual user. Now, both MP3 and FLAC stored images are found because HTML rules say that an absolute reference is to be found exactly where it says (MP3 case) and relative reference is to be found either on “current” directory or on directory given by <base> tag (FLAC case).
Also, this doesn’t work for FLAC files generated by the old (MC 11) FLAC encoder even if you use the new (MC 12) FLAC encoder/decoder when you add image to such “old” file.
Regards/Mikael