added image making routines for thumbnail images