Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Dropbox Image UploaderNew to Visual Studio Code? Get it now.
Dropbox Image Uploader

Dropbox Image Uploader

minyeamer

|
2 installs
| (0) | Free
Upload images to Dropbox and insert shared links into Markdown files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Dropbox Image Uploader for VS Code

Upload images to Dropbox and automatically insert direct links into your Markdown files — all without leaving VS Code.

✨ Features

  • 📤 Multiple Image Upload: Upload multiple images at once
  • 🔗 Auto-Insert Links: Automatically inserts Markdown image syntax
  • 📊 Progress Tracking: Real-time upload status
  • 🎨 Image Conversion: Optional format conversion and resizing (requires ffmpeg)
  • 🔧 Flexible Paths: Configure or choose upload paths on the fly

📦 Installation

From VS Code Marketplace

  1. Open VS Code
  2. Go to Extensions (Cmd/Ctrl + Shift + X)
  3. Search for "Dropbox Image Uploader"
  4. Click Install

From VSIX File

  1. Download the latest .vsix file
  2. Open VS Code Extensions view (Cmd/Ctrl + Shift + X)
  3. Click ... menu → Install from VSIX...
  4. Select the downloaded .vsix file
  5. Reload VS Code

🔑 Setup: Get Your Dropbox Access Token

Before using the extension, you need to generate a Dropbox Access Token:

  1. Go to Dropbox App Console
  2. Select your app (or create a new one)
  3. Navigate to the Settings tab
  4. Find the OAuth 2 section
  5. Click Generate under "Generated access token"
  6. Copy the token

Then configure it in VS Code:

  1. Open Settings (Cmd/Ctrl + ,)
  2. Search for "Dropbox Image Uploader"
  3. Paste your token into the Access Token field

Note: The token is stored locally in your VS Code settings and never shared.

🚀 Usage

Method 1: Command Palette

  1. Open a Markdown file (.md)
  2. Press Cmd/Ctrl + Shift + P
  3. Type "Upload Image to Dropbox"
  4. Select images to upload
  5. Done! Links are automatically inserted at your cursor

Method 2: Keyboard Shortcut

  1. Open a Markdown file
  2. Press Cmd + Alt + U (Mac) or Ctrl + Alt + U (Windows/Linux)
  3. Select images
  4. Links inserted automatically

Method 3: Context Menu

  1. Open a Markdown file
  2. Right-click in the editor
  3. Select "Upload Image to Dropbox"

🖼️ Supported Image Formats

  • PNG (.png)
  • JPEG (.jpg, .jpeg)
  • GIF (.gif)
  • BMP (.bmp)
  • WebP (.webp)
  • SVG (.svg)

🎨 Image Conversion (Optional)

Convert and resize images automatically before uploading with ffmpeg.

Prerequisites

Install ffmpeg on your system:

# macOS
brew install ffmpeg

# Ubuntu/Debian
sudo apt install ffmpeg

# Windows (Chocolatey)
choco install ffmpeg

# Windows (winget)
winget install ffmpeg

How It Works

  • Format Conversion: Convert images to WebP, JPG, or PNG
  • Smart Resizing: Automatically resize large images while maintaining aspect ratio
  • Graceful Fallback: If ffmpeg is unavailable or conversion fails, the original image is uploaded
  • Efficient Processing: Only converts when necessary (skips if format/size already matches)

Configuration Examples

Web Optimization (WebP + 1920px)

{
  "dropboxImageUploader.imageFormat": "webp",
  "dropboxImageUploader.maxImageSize": 1920
}

Blog Posts (JPEG + 1280px)

{
  "dropboxImageUploader.imageFormat": "jpg",
  "dropboxImageUploader.maxImageSize": 1280
}

No Conversion (Original Files)

{
  "dropboxImageUploader.imageFormat": "",
  "dropboxImageUploader.maxImageSize": 0
}

⚙️ Settings

Open VS Code Settings (Cmd/Ctrl + ,) and search for "Dropbox Image Uploader":

Access Token (Required)

  • Your Dropbox API authentication token
  • Generate at Dropbox App Console

Use Custom Path (Optional)

  • Unchecked (default): You'll be prompted for the upload path each time
  • Checked: Uses the path specified in "Upload Path" setting

Upload Path (Optional)

  • Default upload directory in Dropbox
  • Default: /apps
  • Examples: /blog-images, /projects/screenshots

Image Format (Optional)

  • Convert images to this format before uploading
  • Options: webp, jpg, png
  • Leave empty to keep original format
  • Requires ffmpeg

Max Image Size (Optional)

  • Maximum width or height in pixels
  • Set to 0 to disable resizing
  • Example: 1920 will resize images so the longest dimension is 1920px
  • Requires ffmpeg

🆘 Troubleshooting

"Access Token is not configured"

Make sure you've entered your Dropbox token in VS Code settings.

"This command is only available in Markdown files"

The extension only activates when editing .md files. This is intentional to avoid clutter.

"ffmpeg is not installed"

Image conversion is optional. If you don't need it, you can ignore this warning. Otherwise, install ffmpeg using the commands above.

"Failed to upload to Dropbox"

  • Check your internet connection
  • Verify your Access Token is valid
  • Ensure your Dropbox app has the required permissions (files.content.write, sharing.write)

📋 How It Works

  1. You select images to upload
  2. (Optional) Images are converted/resized with ffmpeg
  3. Images are uploaded to your Dropbox
  4. A shared link is created
  5. The link is converted to a direct download URL (dl.dropboxusercontent.com)
  6. Markdown syntax ![image-name](https://github.com/minyeamer/dropbox-image-uploader/raw/HEAD/url) is inserted at your cursor

The resulting images are immediately visible when you preview your Markdown!

🤝 Contributing

Found a bug or have a feature request? Open an issue on GitHub.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft