fix N+1 query on friends
add height and width to image for lazy load