Whole Foods has come under fire after a photo of a shopper holding her dog dangerously close to consumables went viral.