working to accommodate the medium image insert