Added a conditional for images that don't exist.