added tmp-file container for b64-encoded img