I too struggled with pornography. Sometimes caving in and others resisting. Then one day my wife told me she had cheated on me, and that she was not interested in reconcilliation. That signalled the end of my struggle.
You see, there was a pain and emptiness created that day that porn could never fill. There is nothing on this world that I so deeply want, as my wife's love.
The following day I realized that while I had let God be my savior, I had never let him be my Lord. My master.
As I laid down my sins at the cross, I realized that a miracle had been granted to me. God removed from me the temptation of porn, and not only was the urge to look at it gone from my mind but so were the images that had for so long been held as comparisons against my wife, images that plagued my waking life and dominated my fantasies.
You know God wants you to look on the things that will build you up and not on those that will tear you down.
He says "If you love Me, keep My commandments."