``` js
if (src && height && width) {
    data.screenshots[0][type].push({
        src: src,
        height: height,
        width: width
    });
}
```