Skip to content

[5.x] schemaorg recipe: Output absolute image URLs and support ImageObject #46191

@manuelkling

Description

@manuelkling

The schemaorg Recipe plugin currently outputs the image as a relative path. This is not ideal for search engines: Rich Results expect a publicly reachable HTTP(S) URL.

Expected:

  • Recipe.image uses absolute HTTP(S) URL, or an ImageObject with url/width/height.

Actual:

  • Image is emitted as joomlaImage with relative path tied to Joomla's media system.

Proposal:

  • Resolve media field to a public absolute URL
  • Prefer emitting an ImageObject with width/height taken from the media metadata.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions