Repeater image fit to screen

Maybe it’s an old post but, here is the solution :

$w("#myImage").fitMode="fit";

Where #myImage is your image id in the repeater.