Basically your approach is right.
Just some minor notes:

you could move the image path search (glob.glob) into __init__ as you are currently creating the paths in each __getitem__ call, which introduces an unnecessary overhead.
your current transformations (resize, normalization) can be composed into torchvision.transforms.Compose so that your code might be a bit cleaner.

What do you mean by “problems referencing the individual transformed images”?
As long as the image paths are sorted in the same way, i.e. the list elements in both lists correspond to each other, you’ll get the right images.