Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
CoveUS
5 years agoExplorer | Level 4
My images don't load on mobile
My images don't load on mobile when I visit my website that uses dropbox direct photo links. The desktop site works fine.
- 5 years ago
Hi all,
As you may have seen, this issue is now resolved and a fix was rolled out earlier this week 🎉
Let us know if you have any questions.
Emma
Rudi B Rasmussen
5 years agoHelpful | Level 6
No - nothing. It is very frustrating. Dropbox needs to do the right thing here. It must be a piece of cake for them to redirect all "dropbox.com\*" requests to "dl.dropboxusercontent.com\*"
Please Dropbox, help us !!!
mrfiledude
5 years agoExplorer | Level 4
i'm satisfied with the answer provided re. changing to "dl.dropboxusercontent" from "www.dropbox"
i'm still miffed by no heads-up, but i think the solution is fine. you can do a find replace through your editor, or , as i did, programmatically, to provide for future entries (my catalog of media is managed via a Google sheet ).
- philski5 years agoExplorer | Level 4
yes changing the link like that works...
but it's really lame that you go to your local Dropbox, select a file, right click and get "Copy Dropbox Link" and unlike, you know the last 10 years!, they NOW give you a link that doesn't work... not to mention all them older busted MacOS / iOS pages.
rad. thx.
- hardreturn5 years agoExplorer | Level 4
it's also not feasible to edit hundreds of old links across multiple different sites
- mrfiledude5 years agoExplorer | Level 4
i can give you server-side or javascript code to replace all the image etc links.
- hardreturn5 years agoExplorer | Level 4
I super appreciate that, however this is on various photography and specialty forums. this already happened years ago when they deprecated direct links and forced the raw=1 convention.
- kainwaffle5 years agoExplorer | Level 3
Hope you don't mind I tag on, but if you can share it with me as well that'd be great. Been at the verge of ripping my hair out over the prospect of manually changing over 10,000 instances.
- kainwaffle5 years agoExplorer | Level 3
On a different note: I've spoken to a dev from another service I use to today (on an adjacent matter), and when I off-handedly mentioned this issue he noted that it probably has to do with Apple slowly discontinuing support on redirects (DB raw=1 links being redirected elements, so it seems to apply) due to security purposes and whatnot. Apparently it's been an inevitable consequence and mused that it's only a matter of time before everyone else follows suit...
I'm no programmer, so make of it what you will. I'm merely speculating. The point however seems to be that it might be time to find alternative solutions anyway, and might explain how painfully silent DB is on this issue - if they can't make apple bend on this, they have a lot of coding to do.
- Rudi B Rasmussen5 years agoHelpful | Level 6
Do You think it can be done with .htaccess ?
That is change links from "www.dropbox.com" to "dl.dropboxusercontent.com"?
I have tried, but failed in my attempts.
- deco105 years agoExplorer | Level 4
Does anyone know if this works with google drive or One drive? Github? Other solution?
I tried but couldnt find the way..
- mrfiledude5 years agoExplorer | Level 4
i wouldn't recommend .htaccess b/c of its inflexibility.
if your content is assembled by a call to a database, then it's best to use a string replace within that "for loop"
here's mine, in PHP :
$songTrack = str_replace("www.dropbox.com","dl.dropboxusercontent.com",$songTrack);
if instead all your links are hardcoded, then you have to tackle it with javascript. it's also simple.. just need to determine the selector on which to act. if your page is hard-coded, (or server-script is n/a for another reason), point me to it. I'll examine it and send a snippet that will fix.
i recommend you manually replace the most popular/frontpage and then use javascript for the archive. the JS isn't ideal because when the page loads (in Safari) the images will be blank, and then will 'magically' but perhaps not too quickly, be replaced.
- JoeSap5 years agoExplorer | Level 4
How many collective hours have been wasted on this by end users? I spent several hours myself before I found this thread.
I do think it's a Safari issue though due to increasing security and less tolerance for redirects for whatever reason. If that's the case, it's probably not an easy fix for Dropbox since they use redirects to serve the raw file rather than using the shared link itself. With the shared link, they want to get the user to Dropbox.com otherwise it doesn't benefit Dropbox (or arguably the user either since I guess some users would benefit from the options available to save/download/etc. the shared file on Dropbox.com) and I assume the redirects benefit Dropbox too by tracking clicks or embeds on their side.
Anyway, if manually updating the www.dropbox.com links to dl.dropboxusercontent.com works, does anyone know if the new link will remain stable? I had a feeling that the shared link would sometimes redirect to a different "raw" link after a certain amount of time. But I guess if people are finding it's possible to programmatically revise the shared link and get a working raw link, the resulting raw link should be stable. (Or at least as stable as this Dropbox workflow has ever been, which in my brief experience over the last couple of years has been a moving target and not stable at all.)
- Rudi B Rasmussen5 years agoHelpful | Level 6
mrfiledude - My website is hosting a phpBB board. And 99% of the broken links are in so called BBCode tags. I have looked in the core phpBB implementation, and unfortunately, I cant easily inject str_replace code such as You suggested. That was also my first thought. Now I am considering making a search and replace in the phpBB sql database.
All posts texts on the forum are stored as strings in the database, for example:
"Here's my latest image of the Rosetta Nebula:
[img]https://www.dropbox.com/s/76fdtyig90hv1id/Rosetta_HSO_RGB.jpg?raw=1[/img]"
I guess that I could make a SQL that replaces the www.dropbox with dl.dropboxusercontent enclosed by "[img]https://" and "%?raw=1[/img]".
- Cemetery5 years agoNew member | Level 2
I hate to say it, but I believe the switch to dl,dropboxusercontent is temporary at best.
Sooner or later, Safari will close that hack. I imagine other browsers will follow.
As others have mentioned, it's the raw=1, the redirect, they dislike.
I intend to keep my images at DB for storage.
Meanwhile, I'm going to ImageKit.
Their free plan allows 20 GB per month, well under my needs.
Good luck, guys. - hardreturn5 years agoExplorer | Level 4Having already been through this the first time they deprecated links I’m of a similar opinion. The lack of transparency on this issue is also very troubling and furthers my concern that the workaround will also break.
- DaveEnVelo5 years agoExplorer | Level 3
I am using Dropbox images in posts I make to SMF bulletin boards. I have noticed recently that the images appear fine when viewed from Windows 10 but are missing under iOS. There is a suggestion that the problem may be related to too many redirects and could be a Dropbox problem. You will find a fuller description of this issue and an example at https://www.simplemachines.org/community/index.php?topic=577082.0 I am using the standard version of Dropbox.
- hardreturn5 years agoExplorer | Level 4
I've encountered an instance of a link that I had edited with dl.dropboxusercontent now displaying the same behavior.
so that seems to a be a temporary fix.
- Dustbunny5 years agoExplorer | Level 3
What befuddles me is that a member of our photo forum who could no longer see his images in Safari also asked friends with older Macs that have not been updated in years to check his links. They also couldn’t see the shared images. If this problem is caused by an Apple security update for Safari, why does it also impact old machines no longer getting any updates?
- hardreturn5 years agoExplorer | Level 4
Moved over to imagekit.
Dropbox doesn't seem interested in even addressing this, much less helping.
About Delete, edit, and organize
Solve issues with deleting, editing, and organizing files and folders in your Dropbox account with support from the Dropbox Community.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!