I've been working extensive on a modified Track Info plug in and have almost everything working but one item.
I'm trying to insert an image file based on the type of codec (flac, mp3, wav, aiff, etc.). I can get the image to work properly but would like it to pull the image file (audio-flac.png,audio-mp3.png,audio-wav.png, audio-aiff.png) based on the metadata in the CODEC field or File Type field.
Here is the code that I'm using to hard code it in: <td><img src="img/audio-flac.png" width="70" height="25" border="0"> </td>
I've tried <td><img src="img/audio-(codec).png" width="70" height="25" border="0"> </td> but no sucess. Additionally I've tried using TrackInfo_insert(Codec) but can't figure out a way to get it to include a file name.
Below is a sample of the first screen with hard coded data installed. Additionally I've attached my index.html file (renamed to index.txt in order to post) for review.
Any help would be appreciated. I couldn't have done this project with out English Tigers support and the extensive use of MCUilt's and Mike's (Mr.C's) assistance.
Thanks in advance for all of your help
Matt