changes upload folder to /img and adds multiple uploads to index