don't use default image/jp2 mimetype if remote image

Signed-off-by: Sebastian Schüpbach <sebastian.schuepbach@unibas.ch>
2 jobs for master in 1 minute and 44 seconds (queued for 2 seconds)