perform the following commands in SSH on your droplet.

sudo chown  -R www-data:www-data /var/www/wp-content/uploads

and

sudo chmod -R 774 /var/www

And then give access to the relivant linux user

sudo usermod -aG www-data $USER