Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
As well as OG:IMAGE, TWITTER:IMAGE and TWITTER:IMAGE:SRC.
This results in the social media URL scrapers not finding a valid set of images, etc, notably Facebook, Twitter and Pinterest. LinkedIn seems to grab a couple of images but one of them is the bluehost advertising image and that is one I likely never want selected to post. Google+ seems OK(?).
Further the Facebook Open Graph Object Debugger (https://developers.facebook.com/tools/debug/og/object/) fails with several error messages when I enter my test site WP URL at http://johnbishopimages.net/blog/
Warning
Object at URL 'http://johnbishopimages.net/blog' of type 'website' is invalid because a required property 'og:image:url' of type 'url' was not provided.
Errors That Must Be Fixed
Object Missing a Required Value Object at URL 'http://johnbishopimages.net/blog' of type 'website' is invalid because a required property 'og:image:url' of type 'url' was not provided.
Also, would it be possible to add a "site wide" Feature Image theme option so that the WP theme will use that if it doesn't find one?
Last edited by john bishop images (2015-02-15 13:27:17)
Offline
An image is specified for single posts and pages only. I did a lot of looking around and research to determine the prevailing way of handling the home and archive pages, and found the "hands-off" approach to be pretty universal.
In the CE3 version, I think I had coded a script to scrape the page for the first image, but that frequently resulted in weird image choices, about which I was very unhappy.
I've been trying to come up with something better than both of the above, but haven't hit upon a good idea yet. A site-wide fallback image, configurable via theme options, might be a reasonable compromise ...
Offline
Some additional thoughts ...
1) For all "archive" pages (i.e. search results, /tag/..., /category/..., /author/...) you omit all the OG/Twitter tags except for the home /blog/ page. Bug?
2) If you think you might go with "blog-wide" images (please!), perhaps allow for the specification of an image for each class of archive page (i.e. one for is_tag(), one for is_category(), ...).
Offline