I have a series of image thumbnails in a page. They are created using css sprites.
Surprised nobody ever mentioned data attributes as a solution.
data
More verbose and clearer and you can put whatever you want for the value.
With jQuery you can get the value with $(ele).data('imagename')
$(ele).data('imagename')