Image Component in a Repeater is not updated when added via code

The problem : I’m trying to get the image component placed inside a repeater to display the avatars images of each of the members it was loaded into the repeater array.

$w(" #myRepeter “).data = results.items; // This is an array resulting from the return of a query.
$w(” #myRepeter ").onItemReady(($item, itemData, index) => {

$item(" #imgMembro ").scr = itemData.picture;
$item(" #textN ame").text = itemData.name; });

});

Note that the content of $item(“#imgMember”).scr is updated correctly with the content of itemData.picture

Why then are the images not updated on the repeater?

You wrote scr instead src

Thank you! I had not seen this.

You’re welcome :slight_smile:

@jonatandor35 I wish all issues posted in this forum where that easy to fix.:wink:

@givemeawhisky It would be really boring …