public function getBlobs()
{
global $attributes;
$blobs = array();
foreach (array_keys($this->fields) as $attribute) {
if (isset($attributes[$attribute]) && $attributes[$attribute]['type'] == 'image') {
$blobs[$attribute] = true;
}
}
return $blobs;
}