Is possible change sprite image online

I have a sprite “sp_OnlinePic”, upload image in web and write image list in “imglist.html” file like this:

exsample.com/img/pic01.jpg
exsample.com/img/pic02.jpg
exsample.com/img/pic03.jpg

Is possible sprite display pic01, when variable is 1. and etc.