Upload image to database

Can’t speak for @andreas , but this is my point:
The code is brilliant, the only thing is, i have to upload 3 Pictures. If i just upload 1, or 2 pictures, the Code runs in a error:

“TypeError: Cannot read property ‘src’ of undefined”

I think this happens because “pic3”: $w(" #gallery ").items[2].src is empty then, intead of “a picture”…

You know what i mean?

Is there somebody who’s able to provide a hint to delete a item in this gallery by code?

you don’t write the code of delay(). so please, if you want to help others, do it properly

@_andy-1 could you help with your code?