Re: Open Graph postimagethumbnailurl

David Herron <[email protected]>
Newsgroups gmane.comp.web.blogger.api
Message-ID <[email protected]>
On Sunday, December 15, 2013 7:36:34 AM UTC-8, Ahmed Zizo wrote:
>
> The data:blog.postImageThumbnailUrl returns an image of 72x72px ,, so when 
> i share a post in facebook, it shows the default size which is small.
> is there a way to have a large size by default from within Blogger.
>

The suggestion to read that post on blogxpertise.com didn't help - it said 
to use data:post.firstImageUrl, but when I put that into my template and 
refreshed a sample blog post, Blogger printed a message saying 

TEMPLATE ERROR: Invalid data reference post.firstImageUrl: No dictionary 
named: 'post' in: ['blog', 'skin', 'view'] 

Specifically, I used this code:

    <b:if cond='data:post.firstImageUrl'>
    <meta expr:content='data:post.firstImageUrl' property='og:image'/>
    <b:else/>
    <meta content='http://audio.davidherron.com/Prius%20C/prius_c_003.jpg' 
property='og:image'/>
    </b:if> 

-- 
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/groups/opt_out.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.