View Single Post
Old 01-06-2007, 11:27 PM   #266
Comedian2004
Hall Of Famer
 
Comedian2004's Avatar
 
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
1st, delete all the player_ files in your image folder.

2nd, make a copy of the RANDOM folder somewhere and rename each file player_#.html (change the # to incremental numbers, 1 to whatever there is)

Then look at the current players.csv file with a text editor and see what the highest number is. This will be the 1st number in VERY LAST line in this file. That is the highest player number.

Now, copy over files player_1.html to player_X.html, whereas X is the highest player number to the image folder. In fact, go ahead and copy over a few hundred extra.

Ta da.. every single player has a different picture.

Then, check the players.csv file to see what the highest number is and copy over the new images.

Downside would be that the photos in the almanac would not match.

You could also just go ahead and copy over all 24K photos, but that would slow down the almanac, as it would have to copy all 24K files each year.

If you don't follow, give me a IM tomorrow and I can phone ya and explain it.
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]
Comedian2004 is offline   Reply With Quote