Newbie86 Posted January 19, 2010 Posted January 19, 2010 Hi all experts, I just wanted to ask for some of your help regarding the alt and title tags on my oscommerce site. I am not an expert but I figured out it has something to do with: <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'],$product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, '') . '</a>'; ?></noscript><?php echo tep_draw_prod_pic_bottom();?> I want to be able to add addinitional text to all the image alt and title tags. At the moment it is taking the product name, how would I be be able to have "blah blah - "product name"? I hope that makes sense. All help is greatly appreciated. Thanks!
Jack_mcs Posted January 19, 2010 Posted January 19, 2010 I just wanted to ask for some of your help regarding the alt and title tags on my oscommerce site. I am not an expert but I figured out it has something to do with: <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'],$product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, '') . '</a>'; ?></noscript><?php echo tep_draw_prod_pic_bottom();?> I want to be able to add addinitional text to all the image alt and title tags. At the moment it is taking the product name, how would I be be able to have "blah blah - "product name"? Change tep_image(DIR_WS_IMAGES . $product_info['products_image'],$product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, '') to tep_image(DIR_WS_IMAGES . $product_info['products_image'],'some text goes here' . $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, '') Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Recommended Posts
Archived
This topic is now archived and is closed to further replies.