Image Paths

I wonder if anyone can advise?
I am trying to use user selected images in my widget component with a JavaScript initialised animation effect. In order to produce this effect I have to have two user selected images which are then dynamically added to the function in the form of an image array. I can’t seem to do this as the only way I can get two images is by using the start and end state images. This does not work as I need to have only one state. I’m sure I’m missing something really silly, but I can’t seem to get the image paths dynamically.

Hey
You need to provide more information. Where are the images stored? In a data collection? Where is the javascript? In a html component?

Hi there - the image references point to a URI - this is set by Wix. So the user selects images to show on the iFrame - these can be from their files, from the web or Wix provided images. The paths to the images are relative and they are delivered via endpoints. My colleague has resolved this and I have to say I would never have got there on my own. Thanks though.

Not sure if same issue, but I am trying to set up a hook to pull image into fields via checkbox or a filter…but not sure how to set up the hook. This has to be via image being pulled into field based on user form selection. So working on a database of up to 10 images that are chosen from…so if user selects one or all, the images are then pulled into the other database into the appropriate field. Thoughts? @andreas-kviby