Added debug information
Error on image loading management