When you share an image (or any file) with Dropbox, it sends people to a page that wraps that file in an HTML page that is Dropbox branded. Here is an easy way using Alfred (with it's paid Powerpack) to get a link that links directly to the file. This is useful for using as the src in an <img> tag. I often use it in a wiki or a task management site like Jira or Redmine to show a screenshot. All we need to do is replace www.dropbox with dl.dropboxusercontent in the share link, like my friend Ryan points out.

After downloading my Alfred Workflow, here's all you need to do:

  1. Select an image or any file in Finder.
  2. Click the Dropbox icon, then select "Share Dropbox Link".
  3. Invoke Alfred, then type "dbd" (it stands for DropBox Direct).
  4. Paste the link anywhere needed.

Hope this helps anyone out there! Give me any feedback if you come across problems!