Question: how to change length and width of photo?
Answer: Choose Image > Image Size.
Measure width and height in pixels for images you plan to use online or in inches (or centimeters) for images to print. Keep the link icon highlighted to preserve proportions. ... 
Select Resample to change the number of pixels in the image. This changes the image size.
Click OK.