I have a custom field in d7 and I output it as
<?php print render ($content['field_product_image']);
The problem is it wraps around a whole load of stuff. How can I get in and edit this html?
I suspect somewhere in the field templates or using the api. I can live with the bloated html if I could get rid of the title on the a tag (title="Sample 1")
<span class="image-wrapper"><a title="Sample 1" href="#1" rel="history" class="advance-link">
<div class="field field-name-field-product-image field-type-image field-label-hidden"><div class="field-items"><div class="field-item even"><img typeof="foaf:Image" src="http://extranet.shy-uk.com/sites/extranet.shy-uk.com/files/look-detail_0.jpg" width="620" height="320" alt=""></div></div></div></a></span>