Use correct attribute to render thumbnail image