This is new from the OG debugger:

Small og:image:
All the images referenced by og:image should be at least 200px in both dimensions. Please check all the images with tag og:image in the given url and ensure that it meets the recommended specification.

What is seems to be doing is grabbing my logo and not the image associated with the page or article.
I looked in global settings and did not see anything regarding images.

If I go to the article if is not pre-filled with the path image associated with the article.

I am sure I could figure it out.

It would ideal if
1. we could go to global and up load a image to use as a default to meet the 200px
2. the content UI have the image associated linked but not over ride the logo unless enabled.

Thanks for the good work.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Title: OG - Feature request » Image fields - option to upload a new file
Component: Open Graph » User interface

Have you tried assigning a token to the og:image field in the node settings? Check on this page: admin/config/search/metatags/config/node

Lets focus this issue on the feature request for uploading a new image from within the UI.

ELS Landscape’s picture

Thank you.
I do not see an option for this in meta tags config but I do not have context loaded or enabled.
Is that a requirement for what you are suggesting or am I just not seeing the option?

ELS Landscape’s picture

FileSize
29.22 KB

This screen shot is in in the area you asked me to visit and content -

What I am looking for is when an article has an image. The OG uses that image and not the logo of the site by default.

DamienMcKenna’s picture

FileSize
70.34 KB
24.09 KB

At the bottom of the screen will be a link that says "Browse available tokens":
Browse available tokens.

Clicking that link opens a popup that shows the available tokens, you should be able to find one for the image field you want to use:
Token browser.

BTW you'll need to customize the token display for your content so the image field displays the way you want.

ELS Landscape’s picture

Status: Active » Closed (fixed)

Thank you for that helpful support
I do not see a UI of any type to manage tokens. That is not related to this concern however.

DamienMcKenna’s picture

Status: Closed (fixed) » Active

Am leaving this issue open for handling the file uploading.

FYI you manage the token output via the entity display settings - on the main display settings page (admin/structure/types/manage/article/display) you first enable the Tokens display option and then go to the Tokens display settings page (admin/structure/types/manage/article/display/token).

ELS Landscape’s picture

Thank you again.

I thought this was because context was not installed the results are the same.

The available tokes opens a pop up I see some images and others available then the window shows a limited view and the click to insert action goes away.

In other words the actual toke is not shown just descriptions and the link is dead.The column
under toke shows no nodes.

ELS Landscape’s picture

FileSize
24.66 KB

Here is a screen shot.
Clearly the problem I am having lies elsewhere.

DamienMcKenna’s picture

@ELS: it looks like your admin theme is hiding the expand/collapse arrows to the left of the tokens, you might try switching over to Seven to test it out, maybe submit a bug report for the admin theme.

ELS Landscape’s picture

thank you once more.

My admin theme is 7 so I tried stark

same result. The tokens come up then collapse as shown above.

attempts to hand enter the [node: field_image] also fails to register.

OG debugger
Object at URL 'https://www.hancockglen.com/content/advantages-having-landscaped-garden' of type 'article' is invalid because the given value '[node: field_image]' for property 'og:image:url' could not be parsed as type 'url'.

DamienMcKenna’s picture

@ELS Landscape: ok, we've gone way off topic for this issue, please open a new issue in the Token issue queue for your problem with the token browser and we'll keep this issue for adding a way to upload a new image for the image fields.

ELS Landscape’s picture

I have just decided to copy the URL of the image on the article and past it in the field.
It is not that much more trouble to do.

The error is same as mentioned earlier.

Small og:image:

All the images referenced by og:image should be at least 200px in both dimensions. Please check all the images with tag og:image in the given url and ensure that it meets the recommended specification.

So I went to Config > Image tools
Created a type og_image and set it to scale and crop 200X200.
I then set that in the tokens of the article and used this for teasers.

Again, finding the URL to insert or using a token would be handy.

There is also "views thumbnail" being used by my theme and perhaps that is the issue.

DamienMcKenna’s picture

Version: 7.x-1.0-beta4 » 7.x-1.x-dev