Added support for Instagram and Twitter images