Added additional logging for images