Fixing urls for image tag operations