Using ToolBox to pass a list of images

Is there anyone out there that has every used the toolbox plugin to to successfully pass a list of images? If so, could you help me out with the settings you use?

let images = [pathToYourImages :format as text];

console.log(images)

For example: current user’s gallery images:format as text

inside format as text:
–Content to show per list item:
“https: this image”

–Delimiter:
, (comma)

I’m so grateful you replied but could you walk me through this?

On the “Run javascript” I have the following as you had suggested.

When I debug, I see the images converted to text, but when I “inspect” the plugin it’s show’s empty…

What am I missing?

  1. Is bubble_fn_gallery set to a list?
  2. are you publishing the value?
  3. Don’t use “” for the bubble fn → bubble_fn_photoGallery([expression]);
  4. Are you using javascriptToBubble’s “value list” instead of “value”
  5. Javascript to bubble takes a while to load on the page, so if you put it in a “page is loaded” workflow, bubble_fn_photoGallery won’t exist yet. Instead, put it in a “when condition is true” workflow that is: javascriptToBubble A’s value is empty. That means bubble can reach that element now.

1 Like

Thank you again for your response:

    1. Is bubble_fn_gallery set to a list? YES
  1. are you publishing the value? YES

  2. Don’t use “” for the bubble fn → bubble_fn_photoGallery([expression]);
    → Ok, I’ll make sure to make that adjustment…

  3. Are you using javascriptToBubble’s “value list” instead of “value” YES
    (upload://lp8JJly3RNDnmVJqfJVhTzER7Bh.png)

  4. Javascript to bubble takes a while to load on the page, so if you put it in a “page is loaded” workflow, bubble_fn_photoGallery won’t exist yet. Instead, put it in a “when condition is true” workflow that is: javascriptToBubble A’s value is empty. That means bubble can reach that element now.

Final Setup! Below

You amazing, it works! Thank you so much, now I think I have another problem. But I’ll message you tomorrow…

1 Like

Glad it worked!

Yeah no worries, let me know tomorrow :slight_smile: