|
|||||||
| Earlier versions of OOTP: Commissioner's Corner Want to run an online league? Want to learn about the 'ins' and 'outs' of being a commish? This is the place! |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Minors (Rookie Ball)
Join Date: Apr 2004
Posts: 44
Thanked 1x in 1 post
|
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. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|