[Top][All Lists]

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

RE: [Gnump3d-users] HOWTO display album covers in Gnump3d

From: Clemson, Chris
Subject: RE: [Gnump3d-users] HOWTO display album covers in Gnump3d
Date: Thu, 7 Apr 2005 15:47:52 +0100

you could also use the WIDTH and HEIGHT tags for IMG to scale them if you don't 
want the extra small.jpg files lying around.

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
>] On Behalf Of Ross Mohn
> Sent: 07 April 2005 15:43
> To: address@hidden
> Subject: [Gnump3d-users] HOWTO display album covers in Gnump3d
> 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="folder.jpg" 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="$LINK/small.jpg" 
> alt="&nbsp;"></div></td><td><a href="$LINK">$DIR_NAME</a></td>
> <td>$SONG_COUNT</td><td>$DIR_COUNT</td><td>[$RECURSE]</td></tr>
> Enjoy! -RPM
> -- 
> Ross Mohn
> address@hidden

reply via email to

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