Johnboy777 Posted November 27, 2017 Share Posted November 27, 2017 Hi Guys can anyone please help me with this alt tag problem I have please. I have 12 auction on my site and each picture as no alt tag showing Code: <div class="auction_slot"> <div class="pos" id="so_auction_<?=$rows->auc_id?>"> <div class="auction_name"><a href="<?=site_url('auctions/'.url_title($rows->auc_id.'-'.$rows->product_name))?>" class="auction_name" title='<?=$rows->product_name?>'><?=$rows->product_name?></a></div> <a href="<?=site_url('auctions/'.url_title($rows->auc_id.'-'.$rows->product_name))?>" class="auction_img"><img src="<?=base_url()?>auction_images/<?=$rows->feat_pic?>" width="110" height="90" alt="<?=$rows->feat_pic?>"><?php //AUCTION_IMG_SRC($rows->feat_pic,'AUCTION');?></a> This section is what I thought I would need to change feat_pic My database column name is alt_tag Thanking ever one in advance Link to comment Share on other sites More sharing options...
SteamingAlong Posted November 27, 2017 Share Posted November 27, 2017 You need to change anything that's inside the alt tag if you are having problems with it. In your case it should be alt="<?=$rows->alt_tag?>", with alt_tag being the database row as you explained. Link to comment Share on other sites More sharing options...
Barand Posted November 27, 2017 Share Posted November 27, 2017 ... which is exactly what was suggested to you (and you replied it worked well) in your last topic a couple of days ago. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.