css sprites for dynamic images using php -


my application uses php connects database image file names & they loaded web page. i'be upto 200 images slows page. how can use css sprites dynamically generated images & everytime add new image can't genrate css sprites images. how can load these images faster (i'm using image compression techniques)

<?php echo "<style>      .bg {           background-image: url ($image);      } </style>";  echo "<div class='bg'>  content </div>"; ?> 

Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -