Added extension filters so URLs with non-image extensions don't cause a save failure