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

Defalut link is not raw #51

Closed
guzlewski opened this issue Jul 30, 2019 · 2 comments
Closed

Defalut link is not raw #51

guzlewski opened this issue Jul 30, 2019 · 2 comments
Labels
question Further information is requested

Comments

@guzlewski
Copy link

Hello, i'd like to have raw in defalut link. I use php 7.2 with phpfileinfo and nginx.
Using link in img tag (https://sharex.geniush.ovh/6e4bd/5d407cab554cd.png) or discord not load image, but https://sharex.geniush.ovh/6e4bd/5d407cab554cd.png/raw works.

Similar to #14 but no solution.

@sergix44
Copy link
Owner

sergix44 commented Aug 1, 2019

In the custom uploader settings, just add "/raw" to the URL field.
BUT, if the image tag (non-raw url) is contacted by discord it should download it automatically, because if XBackBone is getting a request from a crawler/robot (like google, etc, inclunding discord) should return the raw image.
Is Discord returning a error or something?

raw

@sergix44 sergix44 added the question Further information is requested label Aug 1, 2019
@guzlewski
Copy link
Author

Discord wasn't showing image becouse I had cloudflare hotlink protection enabled. I disabled it and its working good. Only in github markdown image tag url needs /raw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants