[TYPO3-dev] Byte size of image

Tapio Markula tapio.markula at xetpoint.fi
Sat Mar 28 12:07:24 CET 2009


Xavier Perseguers
> I guess you'll be interested into
> 
> $size = ....;
> t3lib_div::formatSize($size, $GLOBALS['LANG']->getLL('byteSizeUnits', 
> true));

that uses 'M' instead of 'Mb' but I can add 'b' to end.




More information about the TYPO3-dev mailing list