Changed Gallery widget to generic Media widget