well you cant use include to include an image file i dont think but it does seem practical
Now there are two otherways of doing this
There the database way
you the phpfile as like config which puts all of them in an array or something and then rand() randomise them all