fix bug with thumbnail images inside archive pages