How to dynamically style repeating group?

Hi All.

SO I have a website where users can create posts. That post can can have an image or may not have an image. It depends upon the user.

Now what I want to do is to dynamically display the post in the repeating group in such a way that if there is an image in the post then its shown in the post else only the text is shown but that text then should cover the entire space of the repeating group’s cell. Just to make the page look more aesthetic.

@neerja @vascolucci Do you have any clue about the same ?

@akul3007 The tutorials cover how to dynamically display data in a repeating group. You can add an image element in RG cell that spans the entire width and add a :count or is not empty condition to it