refactored img tweet code and portfolio changes