encode image uri before sending to comics