A red dotted line means you're probably trying to connect a color image to a greyscale input (or vice versa, in other situations).
Either set the image to grayscale in photoshop (Image>mode>grayscale) or use a grayscale conversion node in substance designer.