View Single Post
Old 02-10-2009, 11:30 AM   #1 (permalink)
Kammich
Minors (Rookie Ball)
 
Join Date: Apr 2004
Posts: 44
Thanks: 0
Thanked 1x in 1 post
Post Half of my player pictures show up on league site, other half doesn't (red x). Help!!

Hey everyone,
I am having a problem getting all player images to work on my league site.

I have already renamed all of the player images to lower-case with a program, and all of the Team Logos to upper case so when I upload the photos they would match perfectly. It worked for the most part, but I am noticing what seems to be a common trend...

A lot of players are showing up in PNG format, as well as being listed by player ID.

For example...

A photo that works looks like this:
com/TestFile/images/orlando_cabrera.jpg

Those images are showing up perfectly fine. However... this is what's happening when the picture doesn't show up and I upload it onto the site:
com/TestFile/images/player_42582.png

It seems to be only minor leaguers, but I can't obviously confirm that because it would take forever to look at every file.

Furthmore, it would take even longer if I had to rename each and every ID.png on the site to get photos to show up. Is there any way I can strictly use the player's name on the file when adding photos? In other words... I'd like player_42582.png (who is Matt Wieters, just for example here) to show up like this:
matt_wieters.jpg

I just want every player to use the .jpg format upon uploading, because that is how I have my facepack set up...

Thanks a ton if in advance.
Kammich is offline   Reply With Quote