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

Uploaded image direct link? #32

Open
programrails opened this issue Feb 23, 2018 · 0 comments
Open

Uploaded image direct link? #32

programrails opened this issue Feb 23, 2018 · 0 comments

Comments

@programrails
Copy link

I'm using

gem 'carrierwave-dropbox', :git => 'https://github.com/robin850/carrierwave-dropbox.git', :tag => 'v2.0.0.rc1'

When I upload images to DropBox, is there a way to somehow programmatically obtain an image's direct url - to display it inside img tag on my site? Currently I have to go to my DropBox console, press the button "Share", manually copy a link like "https://www.dropbox.com/s/po3kqfro8ai9xr5/user.png?dl=0", then manually replace "dl=0" to "raw=1".

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

No branches or pull requests

1 participant