Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#7 | Screenshot 2019-05-06 at 10.14.29.jpg | 820.24 KB | tarasiadis |
#7 | Screenshot 2019-05-06 at 10.10.15.jpg | 1.33 MB | tarasiadis |
#7 | Screenshot 2019-05-06 at 10.09.38.jpg | 116.59 KB | tarasiadis |
Comments
Comment #1
DamienMcKennaComment #2
giuvax CreditAttribution: giuvax commentedNo 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.
Comment #3
Tashows CreditAttribution: Tashows commented+1 for what guivax said! This is kind of crucial for sharing links in Facebook!
Comment #4
cozzamara CreditAttribution: cozzamara commentedYes is very useful also for me... I wait for a solution too.
Comment #5
tarasiadis CreditAttribution: tarasiadis commentedThis 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.
Comment #6
edmonkey CreditAttribution: edmonkey commentedI suggest Imagecache token. Eg: [node:field_image:social_media:height]
Comment #7
tarasiadis CreditAttribution: tarasiadis commentedThanks 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.
Comment #8
tarasiadis CreditAttribution: tarasiadis commentedFinally 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.