added local check, added twimg domains, added fix for higher res img