write log
change for images