Use  as the main function in Imgur, seperate upload image request to another function