Reputation: 3913
I am using imageFlow as a base . but my problem is i want to show text on top of image this i tried doing but JS file don't Accept any div around img tag.
<img src="" alt="" >
is there any way to show alternate image if image src not able .
Upvotes: 0
Views: 1665
Reputation: 505
<img src="" alt="" style="postion:relative;">
<div style="postion:absolute;">Your image alt text</div>
Set the top,left,bottom and right postion of your div according to where you want to show the text.
Upvotes: 0
Reputation: 17247
You can do as 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 as given in this link
Upvotes: 1