Trying to solve path issue with image.php script. 

Needs Testing.