[Code Style] mod_random_image : Various changes