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 <firstname.lastname@example.org>
Tested-by: Daniel Siepmann <email@example.com>
Tested-by: Richard Haeser <firstname.lastname@example.org>
Reviewed-by: Daniel Siepmann <email@example.com>
Reviewed-by: Richard Haeser <firstname.lastname@example.org>
#2 Updated by Gerrit Code Review 4 days 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