finished implementing image galleries on media tab