image resized and new constraint for 768 max width