External Images and Dropbox

WP Intense Q & ACategory: External ImagesExternal Images and Dropbox
Scott Marshall asked 5 months ago

Is Dropbox not compatible with External Images? Here is a sample link https://www.dropbox.com/s/mqprfsnxghdtbhx/1083.jpg?dl=0

When I hit preview on the product listing page in admin its just says Error URL Image

1 Answers
Dave Hilditch Staff answered 5 months ago

Despite URL appearances, https://www.dropbox.com/s/mqprfsnxghdtbhx/1083.jpg is not actually an image URL – it’s a web page.
If you visit that page then right click the image, you’ll find the following image URL:
That image URL should work in External Images.
Alternatively, if you change ?dl=0 to ?dl=1 then that should probably work too:
Edit: Also – some extra info – Dropbox don’t like to be used as a CDN, similarly with Google Drive. It actually goes against their terms of service. It won’t matter unless/until you get a lot of traffic, but just a word of warning for using them as your CDN.
Also – this page here says change the URL parameter from ?dl=0 to ?raw=1 and then it should just be the image URL and that should work for you.
But please heed the warning on that page:
[dropbox] share links have a limited amount of bandwidth per day, and if you’re linking to large files it could be very easy to exceed that limit and have ALL of your links banned temporarily. Simply put, while you can serve files out of Dropbox, it is not a CDN and you probably shouldn’t use it as one.


We publish performance optimisation guides regularly.

Subscribe so you never miss out.

We use cookies

We use cookies for various things on our site, including our on-site chat bubble (if you use it), our comment forms (if you use them) and for session handling (if you log in).

Other than that, we use cookies to identify where traffic came from to help us understand which traffic turns into sales, we use a cookie for Google Analytics traffic analysis and we use a cookie to customise adverts for our own products we think you'll be interested in.

You can read more detail in our privacy policy page. Please click 'Accept' or 'Decline' to continue.