Don't replace image if image_redirecting is false.
Fixes urlcash group.

Closes #340.