configuring picture upload