Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>img2cdnNew to Visual Studio Code? Get it now.
img2cdn

img2cdn

hahazexia

|
27 installs
| (0) | Free
upload image to cdn
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

img2cdn

Upload image to cdn, Visual Studio Code Extension

Extension Settings

Include if your extension adds any VS Code settings through the contributes.configuration extension point.

For example:

This extension contributes the following settings:

  • img2cdn.uploadApiUrl: backend api url for upload image.
  • img2cdn.uploadApiResKey: After the plugin sends a request to upload an image and receives a response, it will obtain the image URL according to the format of the uploadApiResKey field, such as res.data.data.
  • img2cdn.language: default message language, en or zh.
  • img2cdn.imagePathWhitelist: string array, if image url includes some string in imagePathWhitelist, there will not show upload btn.
  • img2cdn.deleteLocalImage: After replacing the local image, delete it.
  • img2cdn.tinypngApiKey: Tinypng API key to compress image.
  • img2cdn.tinypngTimeout: Tinypng compress image timeout.

Release Notes

Users appreciate release notes as you update your extension.

1.0.0

Initial release

For more information

  • Visual Studio Code's Markdown Support
  • Markdown Syntax Reference

Enjoy!

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