I did that spice thing with small magnetic canisters with a glass lid, but I did it as part of my backsplash. On the side of a fridge sounds terrible, too high traffic, I'm betting they get knocked off frequently. On the backsplash they never get knocked off.