The Wayback Machine - https://web.archive.org/web/20220507112708/https://github.com/nextcloud/server/issues/32148
Skip to content
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

Shared Photos not rendering on Discourse forums due to object tag #32148

Open
sunjam opened this issue Apr 21, 2022 · 2 comments
Open

Shared Photos not rendering on Discourse forums due to object tag #32148

sunjam opened this issue Apr 21, 2022 · 2 comments
Labels
1. to develop bug good first issue

Comments

@sunjam
Copy link

@sunjam sunjam commented Apr 21, 2022

Describe the bug
Sometimes shared photos are one-boxed when they should be embedded. See this discussion on the forum for why Nextcloud photos are not displayed properly.

This is because of a missing og:type meta tag. Currently it is set to object. If it was set to image onebox would treat it as such.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...' Share Photo by url and append ?format=.jpg

Expected behavior
Image can be shared to a discourse forum and embedded with the proper url scheme.

@sunjam sunjam added 0. Needs triage bug labels Apr 21, 2022
@skjnldsv
Copy link

@skjnldsv skjnldsv commented Apr 23, 2022

You need to use the download link, not the preview :)
https://cloud.disroot.org/s/RSZgiiS4AmpicEF/download/bg1.jpg

![image](https://cloud.disroot.org/s/RSZgiiS4AmpicEF/download/bg1.jpg)
image

@skjnldsv
Copy link

@skjnldsv skjnldsv commented Apr 23, 2022

But I guess we could also do the same trick with the .jpg at the end :)

@skjnldsv skjnldsv added 1. to develop and removed 0. Needs triage labels Apr 26, 2022
@skjnldsv skjnldsv transferred this issue from nextcloud/photos Apr 26, 2022
@skjnldsv skjnldsv added the good first issue label Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop bug good first issue
2 participants