Image resizing and uploading works

Database manipulation to add.