For my spice rack I decided to stick all the tins to the front of my refrigerator. There is room for 70 tins; 80 if I cram them a touch closer. With the neodymium magnets they don't budge a bit when you open or close the door, no matter how hard you try.
Instead of your refrigerator door you could also stick them to a sheet of tin hung from the wall, strips of metal
affixed to the inside of your cabinet doors or a magnetic whiteboard