Made settings file point to heroku variable
Added allowed hosts to prevent 500 error
Changed to use file name instead of absolute path when working out file type of image as it caused storage issues