I've made extensive use of an Airweight J-frame (637-1) in a Galco COP ankle holster for about the last 10 years. It's allowed me to carry in many situations that would have been otherwise impossible.
Suggestions & observations in no particular order....
weight is a big factor. you'll get used to it eventually, but the heavier the gun, the more uncomfortable it is. The above mentioned airweight is about the limit as far as I'm concerned. I shudder to think of those extra 10 ounces or so (just a guess) that the G26 would have. A Kel-Tec 32 is down right comfortable, and I've carried that on the ankle as well, but the problem with autos is that any gun down there is going to pick up a lot of crud. Dust, dirt, lint, etc. It'll be all over and in the gun. Just a fact of life. Take it out, blow it off every few days, not a huge deal but one more thing to think about. Many pocket-sized autos can be finicky, so it adds another element of uncertainty. Definitely use a dry lube, not an oil.

I mentioned the COP holster, see pic above. I tried the sheepskin lined ones, and the ones where it's a leather holster attached to the side of the part that wraps around your leg, and felt they added too much bulk. My calves are shaped kinda funny I guess, because I can't hide one of those worth a darn, but the COP one disappears relatively well.
Here's the only pic I could find of the one like mine:

You'll notice the way the velcro strap goes behind the trigger guard instead of across the back. This actually works to your advantage, because you don't need to release the strap to draw. You just rock the butt of the gun forward as you pull up, and it'll slide right past. Still gives very positive retention though.
In looking for that photo, I think I may have found a new holster to try though, the Galco Ankle Light:
I like the strap going up the calf. I have one like this for my P32, and you can
easily forget you're wearing it. Don't care much for the thumb break, but I can probably live with it.
Black Socks. Get used to wearing them. It'll help disguise the holster if your pantleg lifts up a bit (every time you sit down). sitting with one leg crossed up on your knee isn't recommended.
If you must do the white sock thing, be ready with a quick "ankle brace" story just in case. Never had to use that one, but good to have in the back of your mind.
Drawing from an ankle holster definitely takes some practice to become proficient. You'll never win any speed awards, but it does make for a good option to have available for times when nothing else will work.
Ankle carry does make hugging easier.
I'm sure there's more I'm not thinking of right now, but that should give you some to mull over.