FIX: if root folder is set to '/' then all '/'s are stripped out of the ...

Yesterdays fix to the image, broke my image path's. My root folder was set to '/' and line 292 took all '/' out of the path. 

Could have just updated my root folder, however I assume that more people have their path set to '/'.