adding citations html to images