protect against non-base64 images

Be sure not to receive non-base64 string.
If so just don't display them as it might break.