New API function - $modx->getMimeType()

Instead getImageSize()
Use $modx->getMimeType()
Fix

http://forum.modx.jp/viewtopic.php?p=7412#p7412