Take another look at the sentence:
Squirting ketchup on the hot French fries, a participle phrase, comes right before shirt, an illogical target. [Gloria's, a possessive noun, functions as an adjective describing shirt.] People, not shirts, squirt ketchup!
Before you continue, review the rules for misplaced and dangling modifiers.