Addresses missing argument error related to get_main_image fn.
Sets image's max width to 100% to prevent overflow.