Adding image cache, php image file and file permission changes for apache