Skip to content

[ext:joomla] - Support for intro and/or full article image? #673

Answered by johanjanssens
woluweb asked this question in Q&A
Discussion options

You must be logged in to vote

At the moment Pages only support a single image through the image property. Pages checks if the article has an fulltext image and use it, if not it will check if there is an intro text image and use that. See: https://github.com/joomlatools/joomlatools-pages/blob/master/contrib/extensions/joomla/model/entity/article.php#L198

It doesn't make much sense to have 2 images for a single article. This makes it not possible to automatically choose the right image, for example Pages has out of the box support for Opengraph and it requires an image to be valid. See: https://ogp.me/

If an image is defined for a page Pages automatically adds Opengraph metadata to the page to make it socially discover…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by johanjanssens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants