added limit to getTagMedia method