public function updateImageDimensions() { $dataPath = kFileSyncUtils::getReadyLocalFilePathForKey($this->getSyncKey(entry::FILE_SYNC_ENTRY_SUB_TYPE_DATA)); list($width, $height) = $arr = myFileConverter::getImageDimensions($dataPath); if ($width) { $this->putInCustomData("height", $height); $this->putInCustomData("width", $width); } return $arr; }