Here's a way of obtaining all the Starcraft 2 avatars on the official BNET forums.
For this you need xampp installed or a website that supports PHP.
1.php
PHP Code:
for ($i = 0; $i < 10; $i++) {
echo "<a href='view.php?s=" . $s . "&i=" . $i . "'><img src='http://eu.battle.net/d3/static/local-common/images/sc2/portraits/" . $s . "-" . $i . ".jpg' /></a>";
if ($i == 9) {
$s++;
$i = 0;
}
if ($s > 3) {
break;
}
}
This file will display the selected image in bbcode.
2.php
PHP Code:
<?php
$s = $_GET["s"];
$i = $_GET["i"];
echo "[img]http://eu.battle.net/d3/static/local-common/images/sc2/portraits/" . $s . "-" . $i . ".jpg[/img]";