Add image debug output