jquery - show image instead of Alt text if image src not present -


i using imageflow base . problem want show text on top of image tried doing js file don't accept div around img tag.

       <img src="" alt=""   > 

is there way show alternate image if image src not able .

you can below

 <div style="background: transparent url("tempballoon.png") no-repeat left top; font-size: 32px;width: 100%; height: height:[height of image]">   test  </div> 

or can build given in link


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -