dengy Posted October 8, 2014 Share Posted October 8, 2014 I have following open graph on presta 1.6 sharing this link to a blog post http://brunchme.dk/da/blog/brunch-opskrift/eggs-benedict-brunch-opskrift i get three thumbnails none of them exist on that current page. It works well with my products. Is there a way to control which image to show or can i force a logo if not possible? <meta property="og:title" content="{$meta_title|escape:'htmlall':'UTF-8'}"/> <meta property="og:url" content="http://{$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}"/> <meta property="og:site_name" content="{$shop_name|escape:'htmlall':'UTF-8'}"/> <meta property="og:type" content="website"> <meta property="og:description" content="{$meta_description|escape:html:'UTF-8'}"> {if $page_name=='product'} <meta property="og:image" content="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large')}"> {else} <meta property="og:image" content="{$img_ps_dir}logo.jpg" /> Link to comment Share on other sites More sharing options...
vekia Posted October 8, 2014 Share Posted October 8, 2014 it uses logo on other pages than product page take a look: http://brunchme.dk/img/logo.jpg this file is empty, just white this is why facebook uses other pictures. Link to comment Share on other sites More sharing options...
dengy Posted October 10, 2014 Author Share Posted October 10, 2014 <meta property="og:title" content="{$meta_title|escape:'htmlall':'UTF-8'}"/> <meta property="og:url" content="http://{$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}"/> <meta property="og:site_name" content="{$shop_name|escape:'htmlall':'UTF-8'}"/> <meta property="og:type" content="website"> <meta property="og:description" content="{$meta_description|escape:html:'UTF-8'}"> {if $page_name=='product'} <meta property="og:image" content="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large')}"> {else} <meta property="og:image" content="{$img_ps_dir}brunchbabydk-1409124926.jpg" /> I have the correct path to my logo now, but i'm having the same issue ? 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