Reduce photos load time

Masonry is applied after photos are fully loaded. This change is an
assets-only change that significantly reduces the photo sizes and as a
result the load time on the /photos/ endpoint.