Add image replace API support
See original GitHub issuePlease add support to replace an image when using callback for image insert or add a new image upload API.
Some plugins like summernote-image-attributes attempt to replace the image by using onImageUpload
callback. However onImageUpload
callback API doesn’t allow to pass additional arguments to properly complete image replace when upload is done.
One option is to allow to pass additional arguments to the onImageUpload
that a replace plugin can configure to pass another callback or image source to replace. Another option is to add a dedicated onImageReplace
callback. Though any other solution is welcome!
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
How to replace images with new ones, instead of adding to ...
I would clear the contents of the results div, and then add the new images. To do this, though, I needed to make...
Read more >[Solved] API image upload I need to replace instead of adding
Hi, I'm trying to upload images from a folder into a page. I need to replace the images instead of adding. The image...
Read more >Add images to a slide - Google Developers
This page describes how to add images to an existing Google Slides presentation. ... This example uses the Slides API to add an...
Read more >Images API | Contentful
The Contentful Images API allows the retrieval and manipulation of image files referenced from assets. ... This reference covers the parameters you can...
Read more >Upload API Reference - Cloudinary
Automatically remove the background of an image using an add-on. Set to cloudinary_ai to use the deep-learning based Cloudinary AI Background ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Let me know if I missed anything.
On Thu, Oct 3, 2019 at 5:19 AM Dennis Suitters notifications@github.com wrote:
I just copied and pasted to fix the formatting to make it easier to read. I didn’t know that email responses aren’t supported for code formatting.
PHP Funtion