for PHP logfile errors
fix relative path for images