- 'uid' => $uid,
- 'contact-id' => $cid,
- 'guid' => $guid,
- 'resource-id' => $rid,
- 'created' => DateTimeFormat::utcNow(),
- 'edited' => DateTimeFormat::utcNow(),
- 'filename' => basename($filename),
- 'type' => $Image->getType(),
- 'album' => $album,
- 'height' => $Image->getHeight(),
- 'width' => $Image->getWidth(),
- 'datasize' => strlen($Image->asString()),
- 'data' => $Image->asString(),
- 'scale' => $scale,
- 'profile' => $profile,
- 'allow_cid' => $allow_cid,
- 'allow_gid' => $allow_gid,
- 'deny_cid' => $deny_cid,
- 'deny_gid' => $deny_gid,
- 'desc' => $desc
+ "uid" => $uid,
+ "contact-id" => $cid,
+ "guid" => $guid,
+ "resource-id" => $rid,
+ "created" => DateTimeFormat::utcNow(),
+ "edited" => DateTimeFormat::utcNow(),
+ "filename" => basename($filename),
+ "type" => $Image->getType(),
+ "album" => $album,
+ "height" => $Image->getHeight(),
+ "width" => $Image->getWidth(),
+ "datasize" => strlen($Image->asString()),
+ "data" => $data,
+ "scale" => $scale,
+ "profile" => $profile,
+ "allow_cid" => $allow_cid,
+ "allow_gid" => $allow_gid,
+ "deny_cid" => $deny_cid,
+ "deny_gid" => $deny_gid,
+ "desc" => $desc,
+ "backend-class" => $backend_class,
+ "backend-ref" => $backend_ref