fixing images AND links at the same time