What to do with rand_resize_crop?

I am trying to add additional transforms to the MNIST example.
zoom_crop is easy:
zc = zoom_crop(scale=(0.75,2), do_rand=True)
tfms = get_transforms(do_flip=False )
data = (ImageList.from_folder(’/data/’)
.transform(tfms, size = bs, xtra_tfms = zc)

but I cannot understand (and the forum does not help) how to add
No matter what I do, I keep getting the error:
“Exception: It’s not possible to apply those transforms to your dataset:
‘list’ object has no attribute ‘name’”