- Go to Styles&Templates|Replacement Variable Manager
- Create a replacement variable in each style for the directory, such as {rank-img-dir}
- Upload your different image sets to the directories you specified
- Specify the rank file paths using your replacement variable, like {rank-img-dir}/admin.gif
I've never tried this specificially for the ranks, but it works fine for other stuff.