Add weights to image styles.