Just a rough picture to show ...and proof that light is nothing but a wave carrying out infinte number of photons with it !
Carrying photons means ....light carry out its energy by packing it in photons ..!

(Just for fun ..when u go out on journey ...u pack your clothes in boxes ..That is what quantisation means ..! If each box has 10 clothes and you have arround 4 boxes...then total clothe u have is 40 ..!)
Similary Every light wave travels in a straight line with its energy packed in photons...! Number of photons determing how intense the light is ..!
Laser has very high intensity ..Means laser carry out large number of photons with ..
Theory of Quantization says that ...Every wave has its energy quantized ..! Obviously In case of light what it is ??
Total sum of energy carried out by photons..!
If we have n photons ..total energy will be nhv ..! Where v is the frequency of the wave ..!
Now your point is that v is related to wave nature ...then why it determines the enrgy of photon which is of a particle nature ...
Answer is that ...the wave is nothing but collections of photons...as discussed ..So Energy of wave will be equally divided and distributed in the photons ..!
Quantum theory basically relate the wave nature with the particle nature :) ....So energy of wave can be given as total energy of photon....and one photon's energy can be determined by the wave's energy !
Ask your doubts further...!