@JosephWright cool. :) Here's what I have:
```
\documentclass[varwidth,border=10pt]{standalone}
\usepackage{tikz}
\usepackage{graphicx}
\usetikzlibrary{positioning}
\tikzset{
image/.style 2 args = { path picture = { \node at (path picture bounding box.center) { \includegraphics[width=#1cm] {#2}};}},
router/.style = { image = {2}{router.pdf} },
switch/.style = { image = {3}{switch.pdf} }
}
\begin{document}
\begin{tikzpicture}
\node[router] (r) {};
\node[switch, right = 4 cm of r] (s) {};
\end{tikzpicture}