Possible Duplicate:
Use “default” figure if file is missing?
I use LaTeX to take notes during my math classes. When the professor draws an image, I jot it down quickly in a notebook and include it later.
Currently I add a \includegraphics{file} line and then comment it out. This way the code compiles, but I still remember where the image goes. Sometimes, however, I forget to comment the line out.
What I would prefer is a command that looks for a file, displays it if found, and if not displays a message instead ("Placeholder for file"), rather than halting compilation.
Is there any way to do this?

[demo]option to thegraphicxpackage. – Peter Grill Aug 29 '12 at 03:25