Results 1 to 8 of 8
  1. #1
    Full Member
    Join Date
    January 18th, 2005
    Posts
    164
    Problem with image attributes
    Hi guys I'm having a problem getting the following to work

    [WM-RECORD cols=3 width=600][WM-IndexLabel: SUBCATEGORY]
    [WM-IMAGEPATH: THUMBURL raw width="100" height="100 nolink]

    [WM-FIELD: SUBCATEGORY]
    [/WM-IndexLabel][/WM-RECORD]


    The height and width attributs show up as links on the page. I read the help file and I understand there's an issue with index files and resizeing images, maybe I've miss read however I cant get it to work and as usual differing size images from different merchants which I need to give uniformaty to.

    All suggestions welcome

    Many Thanks
    Andy

  2. #2
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    Try putting the nolink before the non-WebMerge attributes.

    And of course be sure you're using v2.4, as the inclusion of non-WebMerge attributes in WM-ImagePath tags is new to that version.
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site
    http://www.fourthworld.com

  3. #3
    Full Member
    Join Date
    January 18th, 2005
    Posts
    164
    Thanks Richard I'll give it a go I'm using V2.4b2.

  4. #4
    Full Member
    Join Date
    January 18th, 2005
    Posts
    164
    The link is removed and the image displays fine but I get this showing up on the page

    width="100" height="100 >

    I'll play with it but if you have any more suggestions I'd appreciate it

    Regards
    Andy.

  5. #5
    Member MarkJH's Avatar
    Join Date
    January 18th, 2005
    Posts
    68
    Why don't you have a closing " at the end of height="100 ?

  6. #6
    Member MarkJH's Avatar
    Join Date
    January 18th, 2005
    Posts
    68
    Did you fix this, Andy?

  7. #7
    Full Member
    Join Date
    January 18th, 2005
    Posts
    164
    No I was not able to get it to work, but I realised my stupidty when I spoted that I was using the large images instead of the thumbnail field.

    So no I couldent get it to work.

    Thanks for your help

    Andy

  8. #8
    ABW Ambassador buy_online's Avatar
    Join Date
    January 18th, 2005
    Location
    Richmond, VA
    Posts
    3,234
    Not sure why you have the "raw" attribute in there, it's normally used to preserve HTML and other code formatting for browsers/java to read/decipher. However, here is the way I normally lay out an image.

    <img src="[WM-Field:ImageURL nolink]" width="100" height="100" >

    In an index file, the "nolink" attribute is a must. I don't use the IMAGEPATH tag usually, so that may be different for you. I should add that using the dimensions like that, you will end up with every image being that dimension, even if it is normally another size. Of course, in an index file, keeping the size uniform may be what you want to begin with.

    Worth a try anyway?

    Fred

  9. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. FantasyJewelryBox Image Problem...
    By Mr. Sal in forum ShareASale - SAS
    Replies: 0
    Last Post: April 22nd, 2012, 12:44 AM
  2. Problem with Image URL
    By walton in forum WebMerge (Fourthworld.com)
    Replies: 4
    Last Post: June 24th, 2004, 10:21 AM
  3. Gateway image problem
    By emphimy in forum Commission Junction - CJ
    Replies: 5
    Last Post: May 16th, 2003, 09:23 AM

Posting Permissions

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