Results 1 to 2 of 2
  1. #1
    Join Date
    January 17th, 2005
    What is the apropriate code format to resize an image using the WM-=ImagePath tag?

  2. #2
    Join Date
    January 17th, 2005
    Well, I'm pretty new to WM myself but I've got a little time on my hands so I'll give it a shot...

    The documentation for WM-ImagePath doesn't refer to any attributes for size so you probably need to use WM-Field tags instead. For example, if you wanted all the images scaled to 150 pixels wide (proportionately), I believe you would write something like this:

    <img src="[WM-Field: pathToImageFile nolink]" width="150">

    But if you had a specific height and width for each image -- defined by fields in your feed -- you'd do this:

    <img src="[WM-Field: pathToImageFile nolink]" height="[WM-Field: imageHeight nolink]" width="[WM-Field: imageWidth nolink]">

    You wouldn't need the "nolink" attribute on detail pages.


  3. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Need help resizing cj link image
    By echi in forum Commission Junction - CJ
    Replies: 13
    Last Post: February 13th, 2008, 01:08 AM
  2. Image resizing
    By burnden in forum WebMerge (
    Replies: 1
    Last Post: December 31st, 2006, 09:56 PM
  3. Resizing an image when using product creater
    By purplebear in forum ShareASale - SAS
    Replies: 9
    Last Post: August 10th, 2006, 08:33 AM
  4. Hotlinked Image Resizing
    By TK in forum Programming / Datafeeds / Tools
    Replies: 4
    Last Post: January 4th, 2006, 02:30 PM
  5. alt tag for image
    By emione in forum WebMerge (
    Replies: 26
    Last Post: January 28th, 2004, 01:05 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