it shows up like that because my photo is not the same size, is there a solution for this problem?
enter image description here
here is the code: