Added basename to image fetch funch to allow search of app's htdocs
folder