The Donald Trump election images are from chapter "Trumptastic Voyage" released on July 7, 2015, before he won the elections but after he announced he will run to the elections.
However, in episode Bart to the Future relesead on year 2000, Lisa Simpson succeed Trump as President of USA.