v0.3.1: favor high-res photos on permalink pages