I made apache execute JPG's as PHP on the server for the folder I keep my avatars in only, used a PHP script I found somewhere and modified it to work with pics, put the code in avatar.jpg, pointed my avatar there, and the script stops avatar.jpg from being loaded, gets the contents of the directory, and randomly picks something to point the http request to
