Answering my own question:
Here is how I added the image size and file size to the admin area:
1) in admin.php after line 719 (or whereever you want to display the info) add the following:
`
<tr> <!-- avc -->
<td align="right">Image size: </td>
<td> <?= $image->getWidth() ?>W x <?= $image->getHeight() ?>H</td>
</tr>
<tr>
<td align="right">File size:</td>
<td> <?= byteConvert(filesize($image->getLocalPath())) ?></td>
</tr>
`
2) at bottom of functions.php (before the final ?> add the following:
`
/** avc
* Parses a byte size from a size value (eg: 100M).
*/
function byteConvert( $bytes ) {
if ($bytes<=0)
return '0 Byte';
$convention=1024; //[1000->10^x|1024->2^x]
$s=array('Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB');
$e=floor(log($bytes,$convention));
return round($bytes/pow($convention,$e),2).' '.$s[$e];
}
`
3) in class-image.php after getFileName() line 134 add:
`
/** avc
* Returns The full SERVER path to the original image
*
* @return string
*/
function getLocalPath() {
return $this->localpath;
}
`
Hope this helps.
-avi