changed imageadapter to thumbnail