Based on the pictures you provided, it's possible that your Guinea pig's swollen foot is due to an infection, which could have been caused by overgrown nails or an injury. Soaking the foot in warm water and trimming the nails is a good first step, but you should also take your guinea pig to a...