Added some additional logging for images