Announcement

Collapse
No announcement yet.

Bug In og:image declaration for Section Image

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

    Bug In og:image declaration for Section Image

    In the Standard Meta Tags layout, there is an og:image declaration for the Section Image Filename Raw variable - currently on line 66 (SD18.02)

    Code:
    <meta property="og:image" content="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable name="CatalogURL" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable name="SSLCatalogURL" /></actinic:block>" /><actinic:variable name="SectionImageFileNameRaw" />" />

    There is a blockif around it so that it is only used if SectionImageHeight and SectionImageWidth are both >= 200

    This line has an extra "/>" in it immediately before SectionImageFileNameRaw

    The code should be :

    Code:
    <meta property="og:image" content="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable name="CatalogURL" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable name="SSLCatalogURL" /></actinic:block><actinic:variable name="SectionImageFileNameRaw" />" />
    Elysium:Online - Official Accredited SellerDeck Partner
    SellerDeck Design, Build, Hosting & Promotion
    Based in rural Northants

    #2
    You have ProductImageFileNameRaw in your "The code should be" bit.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Doh! What an idiot.... well spotted Norman. I also got the wrong line number.

      I have corrected the original post.
      Elysium:Online - Official Accredited SellerDeck Partner
      SellerDeck Design, Build, Hosting & Promotion
      Based in rural Northants

      Comment


        #4
        Thanks Andrew, I have reported this as a bug, SD-7565. Do you see any symptoms in the browser? The last time we tested the og:image tag, it was working OK.
        Bruce Townsend
        Ecommerce Product Manager
        Sellerdeck Ecommerce Solutions

        Comment


          #5
          I haven't checked it in the browser Bruce. I only found the bug because I changed some section images and they were bigger than 200x200 (IIRC) SellerDeck reported it as a coding error
          Elysium:Online - Official Accredited SellerDeck Partner
          SellerDeck Design, Build, Hosting & Promotion
          Based in rural Northants

          Comment


            #6
            OK, thanks
            Bruce Townsend
            Ecommerce Product Manager
            Sellerdeck Ecommerce Solutions

            Comment

            Working...
            X