Lust is a choice. You have a myriad of choices when you see a woman. Lust is only one, but in my opinion, the worst one. You are 100 percent responsible for every choice you make to lust: double taking, rubbernecking, scanning, objectifying, evaluating or in any other way making a lustful assessment of a woman, whether she is real or an image.
The devil can only offer a way to look at something, he can tempt you to think differently than God does. You can decide to think like God or you can lust and see a person or thing differently.