Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • shahidul 12 posts 32 karma points
    Nov 29, 2010 @ 05:58
    shahidul
    0

    Product Image missing in Product Details page

    Hi,

    I am trying to display product Image on Product details page. Below the code in Product[XSLT].xslt

    <div style="float: left; width: 150px;">
          <img alt="Image">
            <xsl:attribute name="src">
              <xsl:value-of select="umbraco.library:GetMedia($product/product/@thumbnailImage, true())/data[@alias = 'umbracoFile']"/>
            </xsl:attribute>
          </img>
        </div>

    but does not display any product image

    I am using 
    umbraco v 4.5.2 
    Ucommerce Package version 1.1.1.0
    Ucommerce  Store Package version 1.0.1.3

     

    please give me an idea how to solve that problem.

    Thanks

    shah


     

  • Anders Burla 2560 posts 8256 karma points
    Nov 29, 2010 @ 09:00
    Anders Burla
    0

    Do you use the new or old xml schema? Your xslt says you want to use the old xml but have you configured umbraco to do that? You can find that in the umbracoSettings config in the config folder - UseLegacyXmlSchema true/false

  • Søren Spelling Lund 1797 posts 2786 karma points
    Nov 29, 2010 @ 10:01
    Søren Spelling Lund
    0

    For the new schema you'd use:

     <xsl:value-of select="umbraco.library:GetMedia($product/product/@thumbnailImage, 0)/umbracoFile"/>
  • shahidul 12 posts 32 karma points
    Nov 30, 2010 @ 04:02
    shahidul
    0

    Thanks

    guys its working

     

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    Nov 30, 2010 @ 11:05
    Søren Spelling Lund
    0

    Perfect. Could you make the thread as solved? Thanks.

Please Sign in or register to post replies

Write your reply to:

Draft