Custom medium size and added magnificPopup