3 ms·
A hint to everyone: If you got the link, made by "Get link", and you don't like the innecessary preview in browser, just add "?dl=1" to the end of the link ex
by runn1ng 14y ago
A hint to everyone:
If you got the link, made by "Get link", and you don't like the innecessary preview in browser, just add "?dl=1" to the end of the link
example:
https://www.dropbox.com/s/1axoy96uwa80wko/matfyzak%20%281%29.pdf https://www.dropbox.com/s/1axoy96uwa80wko/matfyzak%20%281%29... - ugly preview page
https://www.dropbox.com/s/1axoy96uwa80wko/matfyzak%20%281%29.pdf?dl=1 https://www.dropbox.com/s/1axoy96uwa80wko/matfyzak%20%281%29... - sane PDF link
- j_s 14y agoThanks for the tip, but it comes with zero guarantee the link will work that way next week. And with changes like the one being discussed here I'm guessing a referrer / login check will be in place at some point in the future (basically downgrading DropBox public sharing to the equivalent of Google Sites). Edit: It's also worth noting that this parameter forces a download rather than opening things in the browser when possible.
- lobster_johnson 14y agoDoesn't work as intended with images -- you get a download instead of showing the image inside the browser. A step backward compared to the old Public folder.
- deefour 14y agoDropbox support offered up the ?dl=1 querystring as the solution to permanent, public URLs when I emailed them, but I have the same issue with the fact that the files are forced to download. If they're going to stick with Dropbox branded preview for public URLs, I'd like to at least see a similar ?view=1 querystring to keep images/pdfs/etc.. displaying directly in the browser.
- sirclueless 14y agoThe problem there is that it doesn't solve their hotlinking problem.
- Gormo 14y agoDelete the '?dl=1' parameter, and change the URL from 'www.dropbox.com' to 'dl.dropbox.com'. This yields a proper direct link to the file, but the directory tree is still inaccessible.
- runn1ng 14y agoThat's perfect, thanks!
- czottmann 14y agoWell, you can go to that link page, copy the "Download" URL and remove the "?dl=1" suffix. You should have a dl.dropbox.com URL now, which will show the file in the browser, and not force the browser to download the file. That being said: it's an undocumented feature, thus can't be taken as granted (and so might be removed at any point in time without warning), and the path is still cryptic.