Added Photo decoding

Decoding photo thumbnail using openPhoto() method