resize images for github display