carrierwave-dropbox icon indicating copy to clipboard operation
carrierwave-dropbox copied to clipboard

Uploaded image direct link?

Open programrails opened this issue 7 years ago • 0 comments

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".

programrails avatar Feb 23 '18 19:02 programrails