Preparatory work for picture upload