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.
Currently it seems that you can only define one image per node to be given in og:image tags – however, it seems that any number of images are allowed. Attached is a preliminary patch that adds support for multiple images per node by changing the selector to checkboxes.
The patch is far from perfect (or even good), but it does the job. Could something like this make its way to the module?
Comment | File | Size | Author |
---|---|---|---|
multipleimages-opengraph_meta.patch | 3.18 KB | ZeiP |
Comments
Comment #1
hiddentao CreditAttribution: hiddentao commentedSo, would there be multiple tags, one for each image?
This could be added to the module if there's enough demand for it.
Comment #2
decemberly CreditAttribution: decemberly commentedI'm interested in this feature and hope it will soon be added to the module.
Comment #3
GilAnder CreditAttribution: GilAnder commented+1 to add this feature
Comment #4
zennermp CreditAttribution: zennermp commentedI think this feature should be added as well.