Welcome fellow surfer to yet another ThumbNail programs homepage!
This is my tn. There are many like it, but this one is mine.
To make a long story short(er): |
Features |
|
|
# Requirements: # --------------------------------------------------------------- # - bash [ Any reasonable version should do ] # - awk [ Likewise... ] # - convert [ At least verison 5.4.6. ] # # Well, it also uses "ls", "wc" and "mv", but since they are # rudimentary "Unix" I'll just assume that you have them ;)Well, enough said! Time to boogie, but before that, let me mention that maybe the thing that I like the most about tn is it's simplicity, usability
1. # download the tn - script [ wget... ] 2. # place it somewhere in you path [ example ~/bin/tn ] 3. # cd to_where_you_got_some_media_files [ i.e. *.jpg, *.gif *.png... ] 4. # tn [ Could it be more easy? ;-] If you don't like the default colors width etc, then make your own rc file like this: cat > ~/.tnrc ################################################################# # BEGIN :: PERSONAL RC DATA :: ################################################################# # If you feel like giving it a more personal touch, edit these... ################################################################# # (if you copy-paste these into a ~/.tnrc file then you can always # safely upgrade without loosing your own color settings, zen do a # " chmod 755 ~/.tnrc " and nirvana is around the corner... ;) ################################################################# # Who is the author if these pics... AUTHOR="Kristoffer Sederlöf" # Amount of wait time between slides... REFRESH="5" # Change to your wanted thumbnail size TN_RESO="100x100" # Where to fallback when user clicks on the "Picture Album Name" FALLBACKDIR="../" # Here you can change the name of the default index page. INDEXFILE="A_index.html" INDEXFILE_TYPE="all" INDEXFILE_NR_PIC_PER_PAGE="12" # Your wanted _fake_ image size goes here # This is placed in the IMG:age tag as width=xxx. I.e. people with # puju resolution can also see your images. The images them selves # remain the original size. # # This value will also be used if you have any avi files in your # current working dir... FAKE_PICTURE_WIDTH="800" # Am I the owner of these files??? (show $AUTHOR as copywrite owner) SKIP_COPYRIGHT="" # as ENV says... USE_ORIGINAL_PICTURE_WIDTH="" # The default COLORS & WIDTHS can be changed over here: TEXT_COLOR="#0000FF" BG_COLOR="#AABBAA" TN_BG_COLOR="#AACCDD" LINK_COLOR="#0000EE" VLINK_COLOR="#551A8B" ALINK_COLOR="#FF0000" DIR_NAME_COLOR="#00FFFF" SMALL_HOWTO_COLOR="#0000EE" TN_CREATION_DATE_COLOR="#000099" IMG_TEXT_COLOR="#000099" IMG_TABLE_BORDER="0" WEEK_COLOR="#0000EE" FIRST_COLOR="000000" LAST_COLOR="000000" TABLE_COLOR="#99DDFF" TABLE_WIDTH="60%" TABLE_BORDER="1" TABLE_BORDER2="0" TABLE_CELLPADDING="10" TABLE_CELLSPACING="5" TABLE_CELLPADDING2="5" TABLE_CELLSPACING2="5" TABLE_ROW_PICTURE_AMOUNT="4" HR_WIDTH="75%" TD_WIDTH="15%" ################################################################# # END :: PERSONAL RC DATA :: ################################################################# ^D # That's Control D Then do a "chmod 755 ~/.tnrc" and that's that ;)