Hey guys,
i want to create a gallery with images that i have uploaded in my App into "Media". Is there a possibility to achieve this?
I have tried the following:
1) I uploaded 4 pictures into Media (Image1.png, Image2.png, Image3.png, Image4.png)
2) I use the following code to generate a collection:
Collect(
MyCollection;
{Value:"Image1"; Image: 'Image1.png'};
{Value:"Image2"; Image: 'Image2.png'};
{Value:"Image3"; Image: 'Image3.png'};
{Value:"Image4"; Image: 'Image4.png'})
It is not working and gives me an error. I would be thankful if anyone got a solution to the problem.
BR,
Phil
Solved! Go to Solution.
Hi @Phil_Thurner ,
Try this
Collect(
MyCollection;
{Name:"Image1.png"; contentBytes: Image1};
{Name:"Image2.png"; contentBytes: Image2};
{Name:"Image3.png"; contentBytes: Image3};
{Name:"Image4.png"; contentBytes: Image4}
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hey!
You should have something like:
Collect(
MyCollection;
{Value:"Image1"; Image: Image1.png});;
Collect(
MyCollection;
{Value:"Image2"; Image: Image2.png});;
Collect(
MyCollection;
{Value:"Image3"; Image: Image3.png})
But I dont understand why you want a collection with those.. But ok. Pluse, not sure if it will know what "Image1.png" is...
If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!
Best regards,
Gonçalo Nogueira
Check my LinkedIn!
Check my User Group (pt-PT)!
Hi @Phil_Thurner ,
Try this
Collect(
MyCollection;
{Name:"Image1.png"; contentBytes: Image1};
{Name:"Image2.png"; contentBytes: Image2};
{Name:"Image3.png"; contentBytes: Image3};
{Name:"Image4.png"; contentBytes: Image4}
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
User | Count |
---|---|
253 | |
106 | |
94 | |
50 | |
39 |