How to change the HTML output of link to image file? With Manage Display of image field, I set 'Link image to' to File. 



so when user clicks the styled image, will link to original file, I want to change the html output of the link. How may I do so?
Install the devel themer module. After enabling it you can point to whatever you want to change. It will tell you which theme method is actually called what options you have to implement your own one.