how to set the background image property of a div to a dynamically generated image
- by tixrus
I have some divs and each one has its own background image. The base images as stored is just a black silhouette.
What I would like to do is use the PHP GD package to modify the color of those images somewhat randomly and have the modified randomly coloured images be the background images of the divs.
One way to do it is just create GD…