cool. 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: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > nu.org] On Behalf Of Ross Mohn > Sent: 07 April 2005 15:43 > To: [email protected] > 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=" "></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 > [EMAIL PROTECTED] > _______________________________________________ Gnump3d-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnump3d-users
