convert all images to png, resize anything over 520px width to 520px