I made some changes in that code which is mentioned above and now i am able to show more than one random images on my domain but there is problem.
I want to show random images as
Random Image 1 Random Image 2
But it is displaying as
Random Image 1
Random Image 2
I mean I want to randomize images horizontally but it is appearing vertically.
What to DO .... plz help