Affiliate Marketing
Forum Search


Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)  
Old 16-12-04
Registered User
 
Join Date: Apr 2004
Location: UK
Posts: 400
Thanks: 3
Thanked 1 Time in 1 Post
Matt Seigneur is an unknown quantity at this point
  how to display image as image not as blabla.com/pic.jpg via phpMyadmin & Dreamweaver

Hi there

Through gaining valuable info from some tutorials, i've managed to populate a db in phpMyadmin with a deepfeed (it's a big thing for me! )

and also managed to create some record sets so the requested behaviours execute..
only problem is that when i look up the page in firefox it shows the affiliate links like this:
http://www.awin....blabla.htm

And the images like this http://www.asite.com/images/pic.jpg as apposed to the actual image itself!

Would you know

1. how to display the actual image as an image and not the url to the image

2. how to make the aff. deep links "clickable" and not like a long url? maybe the product name and image clickable also/instead of?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 16-12-04
leaddo's Avatar
Registered User
 
Join Date: Nov 2003
Location: Grimsby
Posts: 250
Thanks: 0
Thanked 0 Times in 0 Posts
leaddo is an unknown quantity at this point
Hi Matt

It sounds to me as though you have forgotten to add <a href="......."> around the aff link and an <img src="...."> around the image text.

Hope this makes sense or am I totally misunderstanding your question?
__________________
Andy

Make Gift Giving Personal and PersonaliseYaGifts | My New Blog about AffiliateLiving | Cheap Super Fast Broadband
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 16-12-04
mxp mxp is offline
Registered User
 
Join Date: Dec 2004
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
mxp is an unknown quantity at this point
As leaddo says it sounds like you need to add a couple of html tags to your code. If you want to display the product name rather than the url then you simply need to place the product name within the link tag.

eg.

<a href="url">Productname</a>

if you want to make images clickable you need to enclose them in the link tag.

<a href="url"><img src="imagelocation"></a>

Hope this helps

mxp
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 17-12-04
Registered User
 
Join Date: Apr 2004
Location: UK
Posts: 400
Thanks: 3
Thanked 1 Time in 1 Post
Matt Seigneur is an unknown quantity at this point
  Hmmm... doesn't seem to be working

Ok I tried putting the php tag in a href which is probably complete nonsense, like this:

<a href="<?php echo $row_RsProducts['Link']; ?>"</a>

not suprisingly it didn't work!

I'd like to know how to make the image clickable with the aff. link to open in a new window, and for the image to show up as an image

here's the code i've got:


PHP Code:
<?php } while ($row_RsProducts mysql_fetch_assoc($RsProducts)); ?>              
 </span></p>           </td>          
<td width="293" valign="top"><p class="style3">
<?php echo $row_RsProducts['Cost']; ?></p>
           <p class="style3"><?php $_GET['Link']; ?>
<?php 
echo $row_RsProducts['Link']; ?>
<?php 
echo $row_RsProducts['Image']; ?></p></td>        
  <td width="293" valign="top"><span class="style3">
<?php echo "$row_RsProducts['Link']"?></span></td>

Last edited by Matt Seigneur; 17-12-04 at 11:02 AM..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #5 (permalink)  
Old 17-12-04
andy_jacko's Avatar
curiouser and curiouser
 
Join Date: Sep 2003
Location: uk
Posts: 654
Thanks: 0
Thanked 0 Times in 0 Posts
andy_jacko is an unknown quantity at this point
heres a sample from my site.

HTH

regards andy


PHP Code:
<a href="<?php echo $row_Recordset1['deepLink']; ?>" target="_blank" <img src="<?php echo $row_Recordset1['imageURL']; ?>"></a>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 17-12-04
Registered User
 
Join Date: Apr 2004
Location: UK
Posts: 400
Thanks: 3
Thanked 1 Time in 1 Post
Matt Seigneur is an unknown quantity at this point
  Success!

Thanks Andy and others I used your code and edited it slightly, as it wasn't displaying properly:

PHP Code:
<a href="<?php echo $row_RsProducts['Link']; ?>" target="_blank">
<?php echo $row_RsProducts['ProdName']; ?></a><a href="<?php echo $row_RsProducts['Link']; ?>" target="_blank">
<img src="<?php echo $row_RsProducts['Image']; ?>
border="0" /></a><a href="<?php echo $row_RsProducts['Link']; ?>"></a>&nbsp;
now working fine!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Affiliate Marketing RSS Feeds - Contact Us - Affiliate Marketing - Archive - Privacy Statement - Top

Content Relevant URLs by vBSEO 3.2.0 RC7