always resize to 40 for thum and 200 for image