change image url and log config