self.photo.setPixmap(QtGui.QPixmap(filename of your image)) #remember to save the image in the same directory as your code #works for qt designer