fixing missing portraits and image width