Add base64 decoding for images in SelectionFragment