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

Captura de pantalla 2025-05-18 115755

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

Captura de pantalla 2025-05-18 115755

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.
blocks (8)

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

Captura de pantalla 2025-05-18 115755

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.
Captura de pantalla 2025-05-18 115755

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.
Captura de pantalla 2025-05-18 115755

Screenshot_2025-05-18-23-11-08-66_40deb401b9ffe8e1df2f1cc5ba480b12

  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

Captura de pantalla 2025-05-18 115755
I already changed it but it still isn’t uploading the images.

Good morning, any ideas you might have that won’t upload my images to IMGBB?

You are using image picker 2 and display the image from image picker 1? Does this make sense?

Screenshot_20250520_115407_DuckDuckGo

Do you get an image displayed in the image component?

Also afaik there is still a bug in the image picker, see also https://community.kodular.io/t/kodular-bugs-tracker/274577

Taifun

Good morning, that was already pointed out to me, but I’ve already changed it and it’s still the same. What they told me is that ehwn image.picker isn’t valid for Android 10+ and that I should definitely place it in activity.afteractivity.

The problem is that I already did that and it’s still doing the same thing.

Here are some specific screenshots.
activity
activity2

No, you did NOT replace the image picker by the activity starter workaround, because the image picker still is there…
Screenshot_20250520_131624_DuckDuckGo

delete the image picker components and follow the workaround correctly

Also you forgot to answer

Taifun

here your global id says get id +11

image

do you hav tis dynamic component with this id?

if you have then only the image will update here

image

activity2
Captura de pantalla 2025-05-20 082401
WhatsApp Image 2025-05-20 at 08.22.47

The add image button is physical, the rest of the components are dynamic, including the image, but when creating the cardview, the image should appear in preview. I don’t know if it has something to do with it because when I place a single cardview, there is no error (it still doesn’t upload the image to imgbb), but when I place a second cardview, it tells me

If that is already modified

Captura de pantalla 2025-05-20 082401