Image manipulation

the second option doesnt work, ive tried that method first but it doesnt display my image at all.

is the next step to use the code i tried writing?