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

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

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