Changed the file structure and image rendering is now working