Skip to content

feat(image-downloader): add new image downloader plugin#385

Merged
LogicOber merged 2 commits intolanggenius:mainfrom
lzfxxx:main
Sep 1, 2025
Merged

feat(image-downloader): add new image downloader plugin#385
LogicOber merged 2 commits intolanggenius:mainfrom
lzfxxx:main

Conversation

@lzfxxx
Copy link
Copy Markdown
Contributor

@lzfxxx lzfxxx commented Apr 22, 2025

Plugin Submission Form

1. Metadata

2. Submission Type

  • New plugin submission
  • Version update for existing plugin

3. Description

This plugin downloads images from URLs and returns them as blobs. It solves the CSP (Content Security Policy) restriction issue in Dify cloud version (udify.app) where external images can't be displayed. When AI generates markdown text with image references to external domains, this plugin downloads the images and serves them through blob URLs, bypassing CSP restrictions.

4. Checklist

  • I have read and followed the Publish to Dify Marketplace guidelines
  • I have read and comply with the Plugin Developer Agreement
  • I confirm my plugin works properly on both Dify Community Edition and Cloud Version
  • I confirm my plugin has been thoroughly tested for completeness and functionality
  • My plugin brings new value to Dify

5. Documentation Checklist

Please confirm that your plugin README includes all necessary information:

  • Step-by-step setup instructions
  • Detailed usage instructions
  • All required APIs and credentials are clearly listed
  • Connection requirements and configuration details
  • Link to the repository for the plugin source code

6. Privacy Protection Information

Based on Dify Plugin Privacy Protection Guidelines:

Data Collection

No, this plugin does not collect any user personal data. It only downloads image files from the provided URLs.

Privacy Policy

  • I confirm that I have prepared and included a privacy policy in my plugin package based on the Plugin Privacy Protection Guidelines

@lzfxxx lzfxxx marked this pull request as ready for review April 22, 2025 12:16
Copy link
Copy Markdown
Contributor

@LogicOber LogicOber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for your pull request on GitHub! 😊 Your contributions are greatly appreciated!

Please ensure that:

  • All content in PRIVACY.md, README.md, and 👉 code remains in English only 👈 (e.g., when you use yield self.create_text_message)
  • Please ensure that the label for different languages in the YAML file are written in their corresponding languages.

Looking forward to your updates! 💯

@lzfxxx
Copy link
Copy Markdown
Contributor Author

lzfxxx commented Jun 6, 2025

@LogicOber updated

@LogicOber LogicOber merged commit 4e219ac into langgenius:main Sep 1, 2025
Gmasterzhangxinyang pushed a commit to Gmasterzhangxinyang/dify-plugins that referenced this pull request Apr 6, 2026
…ius#385)

* Fixes get_num_tokens function to return []int instead of int

* bump: version

---------

Co-authored-by: crazywoola <li.zheng@dentsplysirona.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants