add support for taking pictures and handling images