Add get first image url and drop 2.7 python support.