Skip to content

Conversation

travisrisner
Copy link
Contributor

@travisrisner travisrisner commented Oct 16, 2025

Pull Request for Issue #46191 & #43955 .

Summary of Changes

Ensures the root domain is appended to image paths for schema images.

Testing Instructions

  • Ensure the Schema plugin is enabled
  • Edit an article and swap to the Schema tab
  • Set schema type to something with an image (like recipe)
  • Set the image and view the generated schema
  • Note: You might need to clear schema cache (System->Clear Cache)

Actual result BEFORE applying this Pull Request

The images set by schema did not have the root domain prepended and contained extra metadata from joomla about image sizes.

Expected result AFTER applying this Pull Request

The root domain is prepended and the extra information is removed.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

@richard67
Copy link
Member

@travisrisner Append? Or did you mean prepend? Append means to add to the end, prepend to the beginning.

Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
@travisrisner
Copy link
Contributor Author

@travisrisner Append? Or did you mean prepend? Append means to add to the end, prepend to the beginning.

Good catch, yes prepend!

@travisrisner travisrisner changed the title [5.4] - Append root url to schema images [5.4] - Prepend root url to schema images Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants