Added support for class, title, and id set to specific image