Tried yet another fix for the picture upload