Hello, could you help me to set up this variable correctly?

When I want to put any GET on it, it leaves me with the red cross

You cannot get any global variables. Where you can just initialise. You should get it under any event. In your case you can get it under when any button is clicked

You can convert clicked button id into product id.

Imagine if buttons are created dynamically with ids like but1,but2,but3 etc and products as pro1,pro2,pro3 etc.

When any button clicked get button id say button 3 is clicked whose id is but3
Here just use replace block with the text to pro

Could you help me by telling me what I’m missing or what I’m doing wrong? It saves the data in Firebase, but the image doesn’t upload to imgbb.

This value gives me firebase, but IMGBB is not receiving the image

This mistake is making my mind go crazy.

I would like to know what value I should change or what block to add. Please, I’ve been having this problem for a week.

You are picking the image by activity starter, after picking send it to imgbb, once image uploaded you will get url, after getting the url save values in firebase. Do you have imgbb api key?

I am unable to read full image in mobile. Pls upload one by one. Never share image like this, send us part by parts else it wont give us interest to see diminished images

Even though I have the API key, I don’t understand what’s going wrong or where the fault is.

I think the problem comes between the logic of the creation of the dynamic cardview and the extension of imgbb

In global id you are setting the image after imagebb success, and then how can you use it as id? You wont see any image.

Aftwr imgbb succeeas, catch the image in anyother global variable amd do not disturb the global id.

If you tell me exactly what I need to change or which block you would help me a lot, I’m learning slowly

I already changed it but it still isn’t uploading the images.

  1. Add 0 in time expire amd the above adjustments

  2. Remove that global variable.

  3. Change the global id variable to get image and try other than unchanged


I already changed it but it still isn’t uploading the images.