When the URL of an image contains a hyphen character like in the folder name '2025-1', the output of the Schema.org Article Module will look like this:
"url": [
"https://site.com/sites/default/files/styles/large/public/2025",
"01/GX011868.jpg?itok=8wgYEmNN"
]
instead of this
"url": [
"https://site.com/sites/default/files/styles/large/public/2025-01/GX011868.jpg?itok=8wgYEmNN"
]
Add an image object to a Schema.org Article with an image url containing a hyphen character.
Active
3.0
Code