[url removed, login to view]
I like it but i want some enhancements made to it.
1. I'd like to include some additional attributes in the HREF tag of the image
[url removed, login to view]('somedivtag').innerHTML= tag1
so the image tag would look like this
<a href="http://sometag"><img src="[url removed, login to view]" alt="Title of image" tag1="some data" tag2="some data" /></a>
The tag1, tag2, tag3 could be any freeform text. In some cases a URL or a description.
3. A database function will be building the HREF dynamically (you don't need to worry about this part) so the only place I can extract data out of the image is through some additional tags out of the href