In the variable tool output it looks exactly how I am wanting it to look but when I try and feed that array information into another module it looks wonky. I will attach some pictures below as well as my blueprint.
blueprint (3).json (43.1 KB)
In the variable tool output it looks exactly how I am wanting it to look but when I try and feed that array information into another module it looks wonky. I will attach some pictures below as well as my blueprint.
blueprint (3).json (43.1 KB)
Hello @Machu,
Could you please provide the exact output bundle from ImgBB Module #8 ?
The reason is because we need to see the exact structure of the array coming out of that module.
I don’t have an iLovePDF or ImgBB account to fully test this and create the output needed.
It looks like you’re adding text strings as elements to an array that’s already made up of collections. You would probably need to extract the text from the collections first into their own array (use the map() function for that), then add your fillers.
Hope that makes sense and hope it helps!
Hey @Donald_Mitchell
Thank you for the response. Here are the three output bundles from ImgBB.
[
{
"id": "TL2c5qx",
"title": "file-0001",
"url_viewer": "https://ibb.co/TL2c5qx",
"url": "https://i.ibb.co/Hd47Qpf/file-0001.jpg",
"display_url": "https://i.ibb.co/2NhqBY1/file-0001.jpg",
"width": 1275,
"height": 1650,
"size": 880075,
"time": 1717872825,
"expiration": 0,
"image": {
"filename": "file-0001.jpg",
"name": "file-0001",
"mime": "image/jpeg",
"extension": "jpg",
"url": "https://i.ibb.co/Hd47Qpf/file-0001.jpg"
},
"thumb": {
"filename": "file-0001.jpg",
"name": "file-0001",
"mime": "image/jpeg",
"extension": "jpg",
"url": "https://i.ibb.co/TL2c5qx/file-0001.jpg"
},
"medium": {
"filename": "file-0001.jpg",
"name": "file-0001",
"mime": "image/jpeg",
"extension": "jpg",
"url": "https://i.ibb.co/2NhqBY1/file-0001.jpg"
},
"delete_url": "https://ibb.co/TL2c5qx/b4fa43537a76429659d7b426142a2d96"
}
]
[
{
"id": "ZmJM9kL",
"title": "file-0002",
"url_viewer": "https://ibb.co/ZmJM9kL",
"url": "https://i.ibb.co/M6hCd32/file-0002.jpg",
"display_url": "https://i.ibb.co/PQY6kfm/file-0002.jpg",
"width": 1275,
"height": 1650,
"size": 699076,
"time": 1717872704,
"expiration": 0,
"image": {
"filename": "file-0002.jpg",
"name": "file-0002",
"mime": "image/jpeg",
"extension": "jpg",
"url": "https://i.ibb.co/M6hCd32/file-0002.jpg"
},
"thumb": {
"filename": "file-0002.jpg",
"name": "file-0002",
"mime": "image/jpeg",
"extension": "jpg",
"url": "https://i.ibb.co/ZmJM9kL/file-0002.jpg"
},
"medium": {
"filename": "file-0002.jpg",
"name": "file-0002",
"mime": "image/jpeg",
"extension": "jpg",
"url": "https://i.ibb.co/PQY6kfm/file-0002.jpg"
},
"delete_url": "https://ibb.co/ZmJM9kL/b0e0813360156da3ec94c39712775a9b"
}
]
[
{
"id": "0j5VP60",
"title": "file-0003",
"url_viewer": "https://ibb.co/0j5VP60",
"url": "https://i.ibb.co/hR01p4G/file-0003.jpg",
"display_url": "https://i.ibb.co/FbpqGyQ/file-0003.jpg",
"width": 1275,
"height": 1650,
"size": 159322,
"time": 1717872825,
"expiration": 0,
"image": {
"filename": "file-0003.jpg",
"name": "file-0003",
"mime": "image/jpeg",
"extension": "jpg",
"url": "https://i.ibb.co/hR01p4G/file-0003.jpg"
},
"thumb": {
"filename": "file-0003.jpg",
"name": "file-0003",
"mime": "image/jpeg",
"extension": "jpg",
"url": "https://i.ibb.co/0j5VP60/file-0003.jpg"
},
"medium": {
"filename": "file-0003.jpg",
"name": "file-0003",
"mime": "image/jpeg",
"extension": "jpg",
"url": "https://i.ibb.co/FbpqGyQ/file-0003.jpg"
},
"delete_url": "https://ibb.co/0j5VP60/89a13ccf03cd94f95de2d0f1f974504f"
}
]
I dont quite understand the solution you provided. Could you elaborate a little bit more on that?
When using your Array Aggregator, and aggregating just URL, you end up with an array of collections, each containing a url, instead of an array of text strings.
You can use map() on 33.Array to get just an array of text strings (each containing a url). Then, use add() to add elements to that.
See if that works for you.