Either/Or, the original intention was that you would chain it on before returning a selection.

Eg. 
```javascript
'mainPdpMarkup': function(context) {
    return $('#product_main').resizeImages();
}
```

Though I'm aware that in practice there are a lot of ways this ends up being called.

Wanna chat about this?