Results 1 to 16 of 16
  1. #1
    Full Member
    Join Date
    January 18th, 2005
    Posts
    233
    Im using this [WM-ImagePath: Product_Image_URL]. Can i add some code to it to make all the pictures one size, for example width="80" height="80"

  2. #2
    ABW Ambassador
    Join Date
    January 18th, 2005
    Posts
    1,663
    I tried that once with Amazon's images, not realizing their images sometimes have different proportions. Some images displayed ridiculously distorted. Make sure all images are uniform first.

    Wayne

  3. #3
    Devil's Reject Electropulse's Avatar
    Join Date
    January 18th, 2005
    Posts
    987
    try:

    <img src="[WM-Field: Product_Image_URL]" width="80" height="80" border="0">

    this code was suggested by another abw'er and it works great.

    __________
    Black Out? you gotta be sh!tting me! - Nikola Tesla (while spinning in his grave).

  4. #4
    ABW Ambassador buy_online's Avatar
    Join Date
    January 18th, 2005
    Location
    Richmond, VA
    Posts
    3,234
    Exactly, make sure the dimensions are outside of the WM tag. Thanks ElectricPixel

    Fred

    You might just be a Spammer if - Your welcome mat says, "You'd better have a search warrant."

  5. #5
    Full Member
    Join Date
    January 18th, 2005
    Posts
    274
    hi bbb,

    i had the same problem.

    the code pointed out by ElectricPixel.com
    <img src="[WM-Field: Product_Image_URL]" width="80" height="80" border="0">
    works in details pages,

    but how about in index template?

    [WM-ImagePath: image_url raw] i have this code in index template. i cant seem to get the dimensions inserted in the output.

    thanks.

  6. #6
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    Winterpeg, the Mosquito Capital of Canada
    Posts
    2,299
    I am running into same issue
    Did you ever get it figured out??

    ...............
    WW

    Make a difference! Support your local Cancer Care providers.

  7. #7
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by prix:
    hi bbb,

    i had the same problem.

    the code pointed out by ElectricPixel.com
    &lt;img src="[WM-Field: Product_Image_URL]" width="80" height="80" border="0"&gt;
    works in details pages,

    but how about in index template?

    [WM-ImagePath: image_url raw] i have this code in index template. i cant seem to get the dimensions inserted in the output.
    <HR></BLOCKQUOTE>

    It should work in both. In our half year of public beta testing this was not reported, but it may have been overlooked, or possible somethings up with the template.

    What does the code generated from your example above look like?

    --
    Richard Gaskin
    Fourth World Media Corporation
    Developer of WebMerge: Publish any database on any site
    ___________________________________________________________
    Ambassador@FourthWorld.com http://www.FourthWorld.com
    Tel: 323-225-3717 AIM: FourthWorldInc

  8. #8
    Full Member Abusaki's Avatar
    Join Date
    January 18th, 2005
    Location
    Phoenix, AZ
    Posts
    246
    Hi Prix, I figured it out.
    You can use the
    &lt;img src="[WM-Field: Product_Image_URL]" width="80" height="80" border="0"&gt;
    but you have to give it the option of no link


    so it has to be
    &lt;img src="[WM-Field: Product_Image_URL nolink]" width="80" height="80" border="0"&gt;

    I hope this helps, took me a while to figure it out, I have not used webmerge for over a year

  9. #9
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    Winterpeg, the Mosquito Capital of Canada
    Posts
    2,299
    Still unable to get it to work trying to make an alt tag with this
    Thanks though, does solve 1/2 of the problem I was having

    Fourthworld was sent my info to try to figure out

    ...............
    WW

    Make a difference! Support your local Cancer Care providers.

  10. #10
    Full Member Abusaki's Avatar
    Join Date
    January 18th, 2005
    Location
    Phoenix, AZ
    Posts
    246
    Hi Walleye warrior,
    Is the alt also a field in the database example if the alt is Product_Desc in the database
    if so it has to be


    &lt;img src="[WM-Field: Product_Image_URL nolink]" width="80" height="80" border="0" alt="WM-Field: Product_Desc nolink]"&gt;

  11. #11
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    Winterpeg, the Mosquito Capital of Canada
    Posts
    2,299
    I think this is one of the bugs I reported
    The way I set up usung alt doesnt work

    went back and after I put nolink after the alt field name it worked
    Would never have thought the alt needed the nolink also
    Thanks


    ...............
    WW

    Make a difference! Support your local Cancer Care providers.

  12. #12
    Full Member Abusaki's Avatar
    Join Date
    January 18th, 2005
    Location
    Phoenix, AZ
    Posts
    246
    Yep that is right.
    I found out all field names should have a no link if you do NOT want them to link to the detailed page, now if I can only figure out how to get the field names on the detailed pages to work.
    My detailed pages are all coming out as the template and not inserting the field names from the database into the detailed pages, I am so confused and frustrated.
    Walleye warrior did you get your detailed pages to work, if so how did u do it, did you use raw at the end of the field names, I am off to try that to see if it works.

  13. #13
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    Winterpeg, the Mosquito Capital of Canada
    Posts
    2,299
    &lt;table&gt;
    &lt;tr&gt;
    &lt;td&gt;
    &lt;/td&gt;
    &lt;/tr&gt;

    &lt;tr&gt;
    &lt;td&gt;&lt;br&gt;
    &lt;br&gt;
    &lt;p align="center"&gt;&lt;font size="2" face="arial"&gt;[wm-imagepath: large_image_url]&lt;/font&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width="75%"&gt;&lt;br&gt;
    &lt;br&gt;
    &lt;p align="center"&gt;&lt;font size="2" face="arial"&gt;[wm-field: price]&lt;/font&gt;&lt;/p&gt;

    &lt;p align="center"&gt;&lt;font size="2" face="arial"&gt;[wm-field: description]&lt;/font&gt;&lt;/p&gt;

    &lt;p align="center"&gt;&lt;a href="[wm-field: product_url]"&gt;&lt;font size="2" face="arial"&gt;Buy this [wm-field: Category] product or get more information&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;

    &lt;p align="center"&gt;&lt;font size="2" face="arial"&gt;[wm-linkindex] back [/wm-linkindex]&lt;/font&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;/table&gt;


    Taken from my code on one of my pages

    gives a basic detail page

    ...............
    WW

    Make a difference! Support your local Cancer Care providers.

  14. #14
    Full Member Abusaki's Avatar
    Join Date
    January 18th, 2005
    Location
    Phoenix, AZ
    Posts
    246
    Thanks, I just realized I did not remove the [wm record] from the simlar template I used for the index.

    The longest distance between you and a problem is the distance between your knees and the floor.

  15. #15
    Full Member Abusaki's Avatar
    Join Date
    January 18th, 2005
    Location
    Phoenix, AZ
    Posts
    246
    Walleye Warrior,
    is there any way I can tweak this thing to let the text in the description field be html instead of text, the html tags like &lt;b&gt; and &lt;br&gt; are showing up as &lt;b&gt; and &lt;be&gt; instwad of making the txt bold and causing line break.

    I tried both check in gna unchecking the box that says Text values are in quotes in the sources tab.

    NOTE: Got it, I ha dto use the raw attribute next to that filed name. Working great now



    -----------------------------------------------
    The longest distance between you and a problem is the distance between your knees and the floor.

    [This message was edited by Girlie on February 08, 2004 at 01:19 AM.]

  16. #16
    Newbie
    Join Date
    January 18th, 2005
    Posts
    43
    I am tryng to re-size my index-subcategory images but none of these codes are working..I tryed it without raw but nothing works ?

    [WM-IMAGEPATH: image_url raw]

    I tryed replacing imagepath with field ?

    Thanks

    Jeff

  17. 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

Posting Permissions

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