process picture button