Calendar v1.0.10 Schema.org ld+json image incorrect URL

The schema.org image reference has an incorrect URL...
Code:
"image": "https://netrider.net.au/https://cdn.netrider.net.au/data/nixfifty/calendar/238/238762-f1f6a2d340289c92fa1b6523252a95cd.jpg"
 
Mildly annoying. How is your cdn url generated? Are you using the config.php option to change your data directory or something else?
 
How is your cdn url generated? Are you using the config.php option to change your data directory
Yes.
In template nf_calendar_event_view, I edited from ...
Code:
"image": "{xen:jsescape '{$xenOptions.boardUrl}/{$event.cover_image.thumbnailUrl}'}"
... to ...
Code:
"image": "{xen:jsescape '{$event.cover_image.thumbnailUrl}'}"
Fixed :)
 
Yes.
In template nf_calendar_event_view, I edited from ...
Code:
"image": "{xen:jsescape '{$xenOptions.boardUrl}/{$event.cover_image.thumbnailUrl}'}"
... to ...
Code:
"image": "{xen:jsescape '{$event.cover_image.thumbnailUrl}'}"
Perfect, way ahead of me. I will look in to better support for cdn’s in the meantime.
 
Back
Top