<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>ProductCart Shopping Cart Software Forums : OG:Image Property on Category Pages</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Getting Started : OG:Image Property on Category Pages]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 10 Apr 2026 17:14:53 +0000</pubDate>
  <lastBuildDate>Mon, 22 Jul 2013 21:48:26 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.productcart.com/RSS_post_feed.asp?TID=5675</WebWizForums:feedURL>
  <image>
   <title><![CDATA[ProductCart Shopping Cart Software Forums]]></title>
   <url>https://forum.productcart.com/forum_images/pc_logo_50.png</url>
   <link>https://forum.productcart.com/</link>
  </image>
  <item>
   <title><![CDATA[OG:Image Property on Category Pages : Thanks Greg! ]]></title>
   <link>https://forum.productcart.com/ogimage-property-on-category-pages_topic5675_post21451.html#21451</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=3043">asteriskmmt</a><br /><strong>Subject:</strong> 5675<br /><strong>Posted:</strong> 22-July-2013 at 9:48pm<br /><br />Thanks Greg!]]>
   </description>
   <pubDate>Mon, 22 Jul 2013 21:48:26 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/ogimage-property-on-category-pages_topic5675_post21451.html#21451</guid>
  </item> 
  <item>
   <title><![CDATA[OG:Image Property on Category Pages :  That&amp;#039;s not stock code....]]></title>
   <link>https://forum.productcart.com/ogimage-property-on-category-pages_topic5675_post21450.html#21450</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=290">Greg Dinger</a><br /><strong>Subject:</strong> 5675<br /><strong>Posted:</strong> 22-July-2013 at 7:39pm<br /><br />That's not stock code.&nbsp; If you look at line 324 of the file you reference you'll see this:&nbsp;&nbsp;'nuc<div></div><div>Kevin did that for CJ years ago.</div><div>&nbsp;</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Mon, 22 Jul 2013 19:39:06 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/ogimage-property-on-category-pages_topic5675_post21450.html#21450</guid>
  </item> 
  <item>
   <title><![CDATA[OG:Image Property on Category Pages : PS: I just inherited this site...]]></title>
   <link>https://forum.productcart.com/ogimage-property-on-category-pages_topic5675_post21449.html#21449</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=3043">asteriskmmt</a><br /><strong>Subject:</strong> 5675<br /><strong>Posted:</strong> 22-July-2013 at 7:21pm<br /><br />PS: I just inherited this site and am by no means a PC expert, please let me know if this was custom code added by a previous Dev or if this is the same code used on all PC sites.<div><br></div><div>Thanks in advance!</div>]]>
   </description>
   <pubDate>Mon, 22 Jul 2013 19:21:50 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/ogimage-property-on-category-pages_topic5675_post21449.html#21449</guid>
  </item> 
  <item>
   <title><![CDATA[OG:Image Property on Category Pages : I am usingProductCart v4.1bacm...]]></title>
   <link>https://forum.productcart.com/ogimage-property-on-category-pages_topic5675_post21448.html#21448</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=3043">asteriskmmt</a><br /><strong>Subject:</strong> 5675<br /><strong>Posted:</strong> 22-July-2013 at 7:20pm<br /><br />I am using&nbsp;<span style="color: rgb153, 153, 153; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 14px; line-height: normal;">ProductCart v4.1bacm SP 1 and&nbsp;</span>have just discovered a bug with the way that the include-metatags.php file creates the Open Graph meta tags.<div><br></div><div>It works just fine on product pages (BTO or otherwise), but it doesn't work on the homepage or category pages because it uses a reference of&nbsp;&lt;%=ogImage%&gt; which is only defined for Product page section of the include-metatags.php file, thus creating a reference to a broken image, so that when people go to share this content on Facebook, it shows up with a broken link (or none at all).</div><div><br></div><div>How do we define the following variable in such a way as to have it also see the small images for category pages, and then if no image, default to some image?</div><div><span ="Apple-tab-span" style="line-height: 1.4; white-space: pre;">		</span><table width="99%"><tr><td><pre class="BBcode"><span style="line-height: 1.4;">ogImage=rsTagObj("smallimageurl")<br></span>&lt;meta property="og:image" content="http://www.bestfriendservices.com/store/pc/catalog/&lt;%=ogImage%&gt;"/&gt;<br><span style="line-height: 1.4;"></pre></td></tr></table></span></div><div><span style="line-height: 1.4;"><br></span></div><div>This has become a prominent issue for me as I just implemented a new feature which uses these values to "recommend" other pages to the visitor, and half of my "recommendations" are to pages with a broken image. See http://www.bestfriendservices.com/ and then browse a few pages to see what I am talking about.</div><div><br></div><div><br></div><div><br></div><div><div><span ="Apple-tab-span" style="white-space:pre">	</span></div></div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Mon, 22 Jul 2013 19:20:30 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/ogimage-property-on-category-pages_topic5675_post21448.html#21448</guid>
  </item> 
 </channel>
</rss>