SEO documentation: Example "Setting fallbacks for og:image and twitter:image" gives no absolute image path
Documentation issue (copied from theme repo: https://github.com/TYPO3-Documentation/t3SphinxThemeRtd/issues/149)
Dear documentation editor,
thanks for your example "Setting fallbacks for og:image and twitter:image". It is exactly the solution for my problem, but this example does not work. IMG_RESOURCE returns the image path widthout baseurl. OpenGraph needs an absolute path incl. protocoll and domain. It would be nice, if the example would work correctly.
[DOCS][BUGFIX] Fix docs on how to set a fallback og:image
The current solution for setting a fallback og:image/twitter:image in
the docs of ext:seo would generate relative urls, which is not desired
for these kind of resources. Improve the docs with a solution, that
enforces absolute urls.
Tested-by: TYPO3com <email@example.com>
Tested-by: Daniel Siepmann <firstname.lastname@example.org>
Tested-by: Richard Haeser <email@example.com>
Reviewed-by: Daniel Siepmann <firstname.lastname@example.org>
Reviewed-by: Richard Haeser <email@example.com>
#2 Updated by Gerrit Code Review 7 months ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64070