Example : http://www.papy-team.fr/roster_20b1/ind ... &member=15
(In database ‘players’ the field is named RaceEN and contains “Night Elf”.
This value is used over here like this:
[file addons/info/inc/header.php – line 74]
- Code: Select all
$char->data['char_icon'] = $addon['image_path'] . 'portrait/' . strtolower($char->data['raceEn']) . '-' . ($char->data['sexid'] == '0' ? 'male' : 'female');
So, the resulting image file will be:
…<img src="/roster_20b1/addons/info/images/portrait/night elf-male.gif"…. (did you saw the space in it ?)
Or, the concerning files are named:
nightelf-male.gif
nightelf-female.gif
in dir. addons/info/images/portrait, without the space between night & elf-…..
Proposed solution:
Insert the space in the filename (if this doesn’t introduce server-OS complications)
Or
Change line 74 in header.php so it removes spaces in 'raceEn' before usage.