Guest Posted August 19, 2006 Share Posted August 19, 2006 Hello! I have a jpeg image of a product in my 'right column' and would like it to link to the actual product page of that item. I'm sure I've seen in this forum a thread of how to do this but can't find it now! I think there is a particular piece of code that I need to put in my 'column_right.php.' At the moment I've got... ?><tr><td><img src="images/banners/BigCheese79.jpg"></td></tr><? Also is it possible to add text underneath this image? Cheers, Mark. Link to comment Share on other sites More sharing options...
EatDVD Posted August 19, 2006 Share Posted August 19, 2006 <a href="url-of-product"><img src="images/banners/BigCheese79.jpg"></a> That should do it Link to comment Share on other sites More sharing options...
Guest Posted August 19, 2006 Share Posted August 19, 2006 Hello Daniel, Thanks for your help. I tried that but I get this parse error... Parse error: syntax error, unexpected '<' in /home/punkrock/public_html/includes/column_right.php on line 44 Any ideas? Cheers, Mark. Link to comment Share on other sites More sharing options...
EatDVD Posted August 19, 2006 Share Posted August 19, 2006 you'd have to post the entire line really, post line 44 and ill check. Link to comment Share on other sites More sharing options...
Guest Posted August 19, 2006 Share Posted August 19, 2006 Hello Daniel Line 44 is... <a href="http://www.punkrockcds.com/cheese-magazine-p-816.html?osCsid=65b38b58346f9a975dbed7e0f5ce5a14"><img src="images/banners/BigCheese79.jpg"></a> Cheers, Mark. Link to comment Share on other sites More sharing options...
Guest Posted August 20, 2006 Share Posted August 20, 2006 Hello Daniel, Don't mean to be a pain but did you get chance to have a look at line 44 for me? Cheers, Mark. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.