Can I store the images in a state before saving them to an item in the database?
What Iām really asking is when the images have already been uploaded how can you remove them? It seems like when you clear the images they arenāt actually cleared when they are already uploaded.
You can remove them from the uploader ( reset the inputs with them) or you can set another action, which will remove files from the storage.
In order to provide you with mode details, can you please let us know which exactly uploader you are trying to use, so we will provide you with a solution for your case.
Greetings @ZeroqodeSupport - Love the plugin! Iām running into an issue when trying to clear the uploader in a popup.
I have the uploader configured properly, including Initialize from Workflow being checked, and the uploading works great. When I try to clear the uploader, however, the following error below is thrown.
This issue does not happen when the uploader is on the page or inside a group. Do you know if clearing the uploader in a popup is a known limitation or a bug? Thanks in advance!
First of all, can you please let us know which serves are you using for your case? This information may have an effect on the plugin setup.
Additionally, we have tested the mentioned scenario and placed the uploader in the Pop-Up. Both actions (upload and reset) are working properly. Please find our screencast:
Please check your settings for the āRemove filesā action, especially the element indicated there.
In case the issue will persist even after checking, please provide us the details regarding your configuration, like:
screenshot of the settings of the pop-up;
screenshots with the settings for the plugin element and each button.
Looking to hearing from you soon.
Best regards,
Zeroqode Support Team
Thanks for your help! I figured out the issue - the uploader was inside of a group inside the popup. The group had a condition (if popupās custom state is not upload, this group isnāt visible). The uploader still worked fine in this settings, removing files was the only issue. Let me know if you want screenshots/quick video if you canāt replicate this on your side.
Iāve moved the uploader outside of any group/element with a visibility condition and it works fine now, both uploading and removing files. Thank you!
Hello, @chammer
Happy to hear that you figured it out!
Indeed, different conditions for the groups could influence the visibility and performance of the plugin.
In case any plugin-related questions will appear - let us know.
Hello @ZeroqodeSupport
Iām having issues removing the files from the uploader:
When I remove for the first time it works⦠but when I keep the same page open and add more files and try to remove them after it doesnāt work. Please take a look at the video below:
Hello @ZeroqodeSupport
Iāve found another issue and maybe you can show me if there is a way to solve this:
Iām trying to get all the uploaded images width and height and save them to a database. But when I upload more than one file the plugin only saves the height and width of the last file. Take a look at the prints below:
Please note that the issue with the "Clear after uploading " checkbox was fixed. Please upgrade the plugin to the latest version (2.51.0) and give it a try
We would recommend you remove the plugin element and place it on the page again after uploading.
As for this feature, please note that in the current plugin version, there is the possibility to receive the Heigh and Width only for one image, but not for the entire list.
We will analyze internally our possibilities to improve this option
In case of any plugin-related questions will appear, let us know.
Best regards,
Zeroqode Support Team
By this message, we are happy to notify you that the plugin was upgraded. Now, you will be able to receive the Heigh and Width for each uploaded file. This data will be stored in the DataBase as well
Please upgrade the plugin to the latest version and try the required option.
In case any plugin-related questions will appear - let me know.
Uploaded 3 images; height and width for 1 image ok. height and width for other 2 images were added as a list in the database for one image, and the other didnāt receive the values.
In order to investigate this behavior within your application, can you please share the screenshots of your current settings for saving the images?
We need to understand the way of saving images and recording their parameters.
Looking to hearing from you soon.
Best regards,
Zeroqode Support Team
Hello, @roberto1
Thanks for the screenshots one more time.
Firstly, please note that they are uploaded in reverse order. So, the first imageās data is not saved, for the second image you receive just one parameter, and for the third - all the parameters (height and width).
Please remove the highlighted steps from the workflow, because they are not workable for such actions.
Hello @ZeroqodeSupport
Iāve tried the suggested setup but āAll files uploadedā is only delivering the last uploaded image with all the parameters (height and width)ā¦
Hello, @roberto1
We are sorry for this inconvenience.
Due to the fact that we have some additional questions regarding your settings, can you please add our Support Team email to the list of collaborators to your application and let us know where exactly we can find the element? This will allow us to check your settings and run some tests to fix the mentioned problem.
To add our Support Team as a collaborator, you need to do the following steps in the Bubble Editor:
In order to check this issue, can you please share the screenshots of your current settings with our team?
Weāve tested the Demo Page of the plugin and unfortunately, the mentioned error was not reproduced
So, the possible error could be in the pluginās configuration.
Looking to hearing from you soon.
Best regards,
Zeroqode Support Team