Porto had and still has a fascinating transport system. Ernst Kers has a detailed history of the tram system (with some reference also to trolleybuses) at
http://tram-porto.ernstkers.nl/index.htm and has been of great assistance in confirming locations of some of the photographs.