Results 1 to 4 of 4
  1. #1
    Newbie
    Join Date
    January 18th, 2005
    Posts
    43
    I used the following code in my details template and it works fine, Except that I wanted the image to be a link also.

    I removed the nolink from the image field but then it will not generate the image on the detail page. I also tryed using raw but still didnt work.

    To sum up:
    The below code generates the image and description perfectly except the image is not linked. I want the image to link to the product also.

    <img src="[WM-Field: Image_URL nolink]" width="80" height="80" border="0" alt="[WM-Field: description nolink]">

    Thanks

    Jeff


  2. #2
    Full Member
    Join Date
    January 18th, 2005
    Posts
    413
    Jeff;

    Try something like this.

    <a href="[WM-FIELD: Product_URL]">
    [WM-IMAGEPATH: Product_Image_URL]</a>
    [WM-FIELD: Tracking_Tag raw]<BR>
    <font size="2" color="#800000">
    Click picture for details.</font>

    BTW, for others who may be interested, the above example uses the standard BeFree field names

    Have a Creative Day!
    FRANK, Baertracks
    Be More Creative

  3. #3
    Newbie
    Join Date
    January 18th, 2005
    Posts
    43
    Frank ,

    You are the best but how did you come up with this script

    <a href="[WM-FIELD: Product_URL]">
    [WM-IMAGEPATH: Product_Image_URL]</a>
    [WM-FIELD: Tracking_Tag raw]<BR>
    <font size="2" color="#800000">
    Click picture for details.</font>

    From this:

    <img src="[WM-Field: Image_URL nolink]" width="80" height="80" border="0" alt="[WM-Field: description nolink]">


    Thanks

    Jeff


  4. #4
    Full Member
    Join Date
    January 18th, 2005
    Posts
    413
    Jeff;

    What you want to do insert the image code with inside the linking code like this:
    <a href="[WM-FIELD: Product_URL]">INSERT IMAGE CODE HERE</a>

    In your case, with the pix size and alt info added, I think this should work:

    <a href="[WM-FIELD: Product_URL]"><img src="[WM-Field: Image_URL nolink]" width="80" height="80" border="0" alt="[WM-Field: description nolink]"></a>

    And if you want to include a BeFree tracking ID here, try this:

    <a href="[WM-FIELD: Product_URL]"><img src="[WM-Field: Image_URL nolink]" width="80" height="80" border="0" alt="[WM-Field: description nolink]"></a>
    [WM-FIELD: Tracking_Tag raw]

    I haven't tested this, but the theory looks good!

    Have a Creative Day!
    FRANK, Baertracks
    Be More Creative

  5. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Free images? good quality images cheap?
    By breakingtheborders in forum Blogging, Mobile and Social Media
    Replies: 0
    Last Post: November 18th, 2011, 09:47 AM
  2. Ugg Images = Copyrighted images!
    By it2shoes in forum Commission Junction - CJ
    Replies: 16
    Last Post: March 13th, 2009, 08:32 AM
  3. Images...Will they get better?
    By sfcom in forum PopShops
    Replies: 24
    Last Post: March 3rd, 2008, 07:27 PM
  4. Images?
    By UncleScooter in forum BettyMills
    Replies: 2
    Last Post: April 12th, 2005, 04:10 PM
  5. Images
    By bbb in forum WebMerge (Fourthworld.com)
    Replies: 15
    Last Post: February 23rd, 2004, 06:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •