Adding picture functionality