This if statement is no longer necessary, as the image itself is returned in the next line.