A facile method for preparation of dye-doped silica-based raspberry-like microspheres and fluorescent films.