[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnump3d-users] HOWTO display album covers in Gnump3d

From: Ross Mohn
Subject: [Gnump3d-users] HOWTO display album covers in Gnump3d
Date: Thu, 07 Apr 2005 10:42:49 -0400

There've been several questions about this lately, so here's the technique for displaying album covers in Gnump3d. You open the index.html template file of the theme, for me it's /usr/share/gnump3d/Tabular/index.html. Now, wherever you want the image to appear, you put code such as this:

<div align="center"><img src="" alt="No cover image"></div>

Usually you'll put it in the code between the BANNER and PLAYLISTS sections.

I also like to display a small cover next to the subdirectories, so I shrunk each cover using ImageMagick and saved it to small.jpg. Then I changed my directory_format setting in /etc/gnump3d/gnump3d.conf to this:

directory_format = <tr><td width="10%"><div align="center"><img src="" alt="&nbsp;"></div></td><td><a href=""> <td>$SONG_COUNT</td><td>$DIR_COUNT</td><td>[$RECURSE]</td></tr>

Enjoy! -RPM
Ross Mohn

reply via email to

[Prev in Thread] Current Thread [Next in Thread]