It'd be really useful if the module was able to auto-generate certain meta tags based upon others, e.g. if og:image is present then it ought to be possible to auto-generate og:image:type, og:image:width and og:image:height.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Title: Auto-generate media meta tags » Auto-generate og:image sub-tags (og:image:width, etc)
giuvax’s picture

No updates about this?
I guess this feature would solve the errore I'm getting now. The code is well output but the fb debugger answers that "The provided 'og:image' properties are not yet available because new images are processed asyncronously. To ensure shares of new URLs include an image, specify the dimensions using 'og:image:width' and 'og:image:height' tags". If I try two or three times reloading the same url in fb debugger eventually the image shows up.

Tashows’s picture

+1 for what guivax said! This is kind of crucial for sharing links in Facebook!

cozzamara’s picture

Yes is very useful also for me... I wait for a solution too.

tarasiadis’s picture

This will solve my problem too. I caan set the new image to fb cache system but only if I set the width/height, and I can't with tokens.

edmonkey’s picture

I suggest Imagecache token. Eg: [node:field_image:social_media:height]

tarasiadis’s picture

Thanks for reply.

I have already install Imagecache token but at the product image does not support image/height or I could not find it.
The my conf at screenshots.

As I can understand at product image field of product variation I have not so many choices for tokens as of other field image types as the blog image where I have all the image styles data.

tarasiadis’s picture

Finally works!
I have use https://www.drupal.org/project/fast_token_browser to show all available tokens.

And I use my custom token typing
[node:field-product-variations:0:field_product_image:ipad:width]

ipad is the style image of field type field_product_image.