How can i use carousel with images
Question
Hello, I started to make my own website for a school project, I wanted to know how to use the carousel with different images, I've tried several times and still I can't understand how to use it and what is needed to make it work.
Can anyone help me?

Hi Ana,
My name is Cristian, And I am helping in the forum with the intention of becoming an MVP, your like helps me a lot and even better if I manage to solve your issue.

Could you please provide a sample module so that we can try to reproduce?

The carousel works based on a list. the type of value it requires must be of type IMAGE. If you notice the image, the component is made up of a list-group and an image.

you tell me.

Best Regards,


CP


Thank you so much for your help, can you help me also with the source? I can't quite understand how it works with images. 

imagem_2022-03-05_155739.png


For this example we have 3 entities.

Country: entity that has many tourist places.
IMAGE: Entity where all our images will be.
Country Detail: entity where we are relating the images that belong to the country.




Video recorded during the development of the demo
https://www.youtube.com/watch?v=BGL2XUtEi_4

demos file: TusimosPE.OAP

We add the list
we assign the attribute Image

You tell me..

Best regards and success

TURISMOPE.oap

Hello Ana, 

First of all, you need a list of images or a list of entities that have a binary type field.

You can get this list from an aggregate on the screen for example. 

Then use this list to populate your Carrousel.


 And your image.

That should do the trick. 

I will attach an oml with the code so you can take a look at an example. 

Hope it helps! 

Paulo Rosário

CarouselReactive.oml

Its working now, thank you so much! 

Glad we could help :D 

please mark the answers as correct so othe users can find this solution more easily!

Thank you 

Paulo Rosário

Hi Ana,
My name is Cristian, And I am helping in the forum with the intention of becoming an MVP, your like helps me a lot and even better if I manage to solve your issue.

Could you please provide a sample module so that we can try to reproduce?

The carousel works based on a list. the type of value it requires must be of type IMAGE. If you notice the image, the component is made up of a list-group and an image.

you tell me.

Best Regards,


CP


Thank you so much for your help, can you help me also with the source? I can't quite understand how it works with images. 

imagem_2022-03-05_155739.png


For this example we have 3 entities.

Country: entity that has many tourist places.
IMAGE: Entity where all our images will be.
Country Detail: entity where we are relating the images that belong to the country.




Video recorded during the development of the demo
https://www.youtube.com/watch?v=BGL2XUtEi_4

demos file: TusimosPE.OAP

We add the list
we assign the attribute Image

You tell me..

Best regards and success

TURISMOPE.oap

Hello Ana, 

First of all, you need a list of images or a list of entities that have a binary type field.

You can get this list from an aggregate on the screen for example. 

Then use this list to populate your Carrousel.


 And your image.

That should do the trick. 

I will attach an oml with the code so you can take a look at an example. 

Hope it helps! 

Paulo Rosário

CarouselReactive.oml

Its working now, thank you so much! 

Glad we could help :D 

please mark the answers as correct so othe users can find this solution more easily!

Thank you 

Paulo Rosário

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.