updated to handle no-thumbnail case
updated with latest Tufts additions