public function addImage($source = null, $attributes = [])
{
$validKeys = ['url', 'secure_url', 'type', 'width', 'height'];
if (is_array($source)) {
$this->images[] = $this->cleanProperties($source, $validKeys);
} else {
$this->images[] = [$source, $this->cleanProperties($attributes, $validKeys)];
}
return $this;
}