>>512099177 (OP)
Someone will ask.
The only way for someone's legs to get this way is likely due to three different conditions acting together.
-Untreated diabetes, causing poor circulation in the legs, and therefore inadequate healing of the skin.
-A fungal or bacterial infection (likely fungal from the looks) that is also rampant and possibly untreated.
-And lastly psoriasis or cellulitis causing the initial skin breakage and inflammation.
Eczema could also be a factor, but I'm leaning toward psoriasis from the look of that scale buildup.