- Create upload folder (mkdir upload)
- Assumption all required GO packages already installed
To test upload:
- Open index.html
- Browse for valid image and click Submit.
- upload.go will return JSON that original image title, shows url and resized_url {"resized_url":"http://localhost/upload/doZPJTWUly1SIf3W_resized.jpg","title":"2 cor4.jpg","url":"http://localhost/upload/doZPJTWUly1SIf3W.jpg"}
To test download:
- key in a valid image url
- execute the function