Lets say I have 9 images in an array and I want to replace image 5 with a different image.
Does anyone know how I would go about that or if its possible? If there is a tutorial of some kind I would appreciate it because I am a bit lost here.
For more detail I am using file upload advanced, Google cloud and xano. Its not set up yet but I figure the images are sent to GCS then the url to xano which will be displayed in weweb.
Any help would be appreciated.
array[4] = new_value
should do, for the 5th item it’s index number 4, because computers count from 0
Thank you but I have almost no idea what this is I think you might be a bit smarter than me.
How would I implement this in weweb so the user can replace a specific image?
This might be an easier question for office hours so I can walk through my setup
Sorry yes, you need to go to the Change variable value → Update one item and the item index should be (the order of your item in the array - 1)