Announcement

Collapse
No announcement yet.

Help - Problem with using Custom Field for Image Display

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Help - Problem with using Custom Field for Image Display

    I have created a custom field named DRAW with the path to my image. The field contains the path in this format:
    graphics/00000001/drawings/9005_drawing.gif
    In my page template, I am trying to bring in the image by testing whether the field is null and then incorporating the path in the image tag:
    <mvt:if expr="NOT ISNULL l.settings:product:customfield_values:customfields :DRAW">
    <p align="center"><img src="&mvt:product:customfield_values:customfields: DRAW;" alt="&mvt:product:name; drawing and dimensions" /></p>
    </mvt:if>
    It is not displaying the image, and I don't know what is wrong with my syntax. I have verified that the path is correct.

    Help!
    Lynne Phelps
    Sy-Klone International
    www.sy-klone.com
    Reduce Costs and Increase Uptime with Air Precleaners for Engines & HVAC

    #2
    Re: Help - Problem with using Custom Field for Image Display

    Did you assign that custom field to be available in the template with the checkbox for it?
    Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
    Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
    Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
    Facebook http://www.facebook.com/EmporiumPlus
    Twitter http://twitter.com/emporiumplus

    Comment


      #3
      Re: Help - Problem with using Custom Field for Image Display

      I am using Sebenza Product Template Manager which is in the System Extension Settings. It did not occur to me that I would have to go into pages to make it available!

      THANKS!!
      Lynne Phelps
      Sy-Klone International
      www.sy-klone.com
      Reduce Costs and Increase Uptime with Air Precleaners for Engines & HVAC

      Comment

      Working...
      X