added filesize limit for media items