-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix image_src link #2378
Fix image_src link #2378
Conversation
@LukasReschke, thanks for your PR! By analyzing the history of the files in this pull request, we identified @rullzer, @schiessle and @blizzz to be potential reviewers. |
@@ -370,7 +370,7 @@ public function showShare($token, $path = '') { | |||
$shareTmpl['previewMaxY'] = $this->config->getSystemValue('preview_max_y', 1024); | |||
$shareTmpl['disclaimer'] = $this->config->getAppValue('core', 'shareapi_public_link_disclaimertext', null); | |||
if ($shareTmpl['previewSupported']) { | |||
$shareTmpl['previewImage'] = $this->urlGenerator->linkToRouteAbsolute( 'core_ajax_public_preview', | |||
$shareTmpl['previewImage'] = $this->urlGenerator->linkToRouteAbsolute( 'core.Preview.getPreview', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not @PublicPage
?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stupid hobbit… Yeah… Will fix 🙈
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed. THX 👍
The link in the image_src link (used for previews on Social Media such as Facebook) was still using the old route. This changes it to use the new route. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
c554c88
to
9def822
Compare
👍 |
Tested and works 👍 |
The link in the image_src link (used for previews on Social Media such as Facebook) was still using the old route. This changes it to use the new route.
Signed-off-by: Lukas Reschke lukas@statuscode.ch
Fixes #2364
cc @MorrisJobke @rullzer