Thread: OG Image size
View Single Post
  #9  
Old October 15th, 2014, 02:29 PM
yankeestonk yankeestonk is offline
 
Join Date: Jun 2013
Posts: 605
Default

Eric/Stefan,

Still trying to get this Share This bar to work. Right now it seems to be giving the correct description of the page it's on, but no image. While I work on other stuff could this code in the product detail be causing the problem by serving up the thumbnail image? ( <div class="thmb"> ) I'm guessing that it's correct as it is, but was wondering if there is another way to do it so the image displayed is at least 200 x 200 pixels? (as you know facebook won't accept images smaller than that.

<!-- Detail Heading -->
<h2>Product Details:</h2>
<!-- /Detail Heading -->

<!-- Single Product -->
<div class="sp">
<div class="bdr">
<div class="lc">
<div class="thmb">
<a href="[product.url direct='0']" title="[product.name]" target="_blank" rel="nofollow">
[product.image tag='1']
</a>
</div>
</div>
</div>
<div class="rc">
<h2><a href="[product.url direct='0']" title="[product.name]" target="_blank" rel="nofollow">[product.name]</a></h2>

<?php if ($product->saleprice > 0 && $product->saleprice < $product->price) { ?>
<div class="prc">