camera activity working with intents and creating thumbnail