You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 4, 2019. It is now read-only.
when I get the image url through User.first.avatar.url, It generate the url but when I try the url in browser or html, its not showing the image. My model code
It is uploading the file to my dropbox successfully. So when I try User.first.avatar.url, its generates url like this https://dl.dropboxusercontent.com/u/191409863/mclarenp1_QY5vmfTw.jpg when I access this, the page shows dropbox error page instead on image.
The text was updated successfully, but these errors were encountered:
I have the same issue. From what I have read here, this might be that dropbox stopped allowing free users to get a public folder. So either you need to update to pro or you do it privately.
edit :
To solve this issue, you need to set in your model file
:dropbox_visibility=>'private'
And after it should work without any problem.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
when I get the image url through
User.first.avatar.url
, It generate the url but when I try the url in browser or html, its not showing the image. My model codeIt is uploading the file to my dropbox successfully. So when I try
User.first.avatar.url
, its generates url like thishttps://dl.dropboxusercontent.com/u/191409863/mclarenp1_QY5vmfTw.jpg
when I access this, the page shows dropbox error page instead on image.The text was updated successfully, but these errors were encountered: