montex Posted June 19, 2004 Share Posted June 19, 2004 Hello, How can I add attributes to images? For example: Name=some_name Align=bottom I noticed that the title and the alt tag are generated from the same source, but I don't know where that source is or how to manipulate it. Any help on where to define <img src= > info would be greatly appreciated. Thanks, Monte Link to comment Share on other sites More sharing options...
montex Posted June 19, 2004 Author Share Posted June 19, 2004 I figured this one out: if you go to Catalog/includes/functions/html_output.php there is a setting for tep_image // The HTML image wrapper function function tep_image($src, $alt = '', $width = '', $height = '', $parameters = '') { // WebMakers.com Added: - clean alt tag from bold, italic etc. if ($alt != '') { $alt= clean_html_comments($alt); this globally changes all images called from tep. Monte Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.