debugging around images