fernandokerber Posted September 9, 2012 Share Posted September 9, 2012 (edited) Hi I have this code in my LikeALot facebook plugin. {if $product} <meta property="og:title" content="{$product.name|escape:'htmlall':'UTF-8'}"/> <meta property="og:type" content="product"/> <meta property="og:image" content="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home')}"/> <meta property="og:description" content="descricao."/> <meta property="og:url" content="http://{$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}"/> {/if} This code puts into og:image the address of the product cover image. But how can i set the og:image pointing to the secod product image? Edited September 9, 2012 by fernandokerber (see edit history) Link to comment Share on other sites More sharing options...
vguillot Posted November 27, 2012 Share Posted November 27, 2012 Hello, Did you find how to display the second product image? Please, could you explain how you did it Thak you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now