[TYPO3-dev] Byte size of image
    Xavier Perseguers 
    typo3 at perseguers.ch
       
    Sat Mar 28 16:19:34 CET 2009
    
    
  
Tapio Markula wrote:
> 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.
Just give another array of values in $GLOBALS['LANG']->...
-- 
Xavier Perseguers
http://xavier.perseguers.ch/en
One contribution a day keeps the fork away
    
    
More information about the TYPO3-dev
mailing list