Support sizes in photo media item.
Revert keyboard as input toolbar due to bugs, fix some issues