Hey.
I looked at oUF_Karma and it turns out it doesn't use the cfg.raidScale at all! If you would like to change it so that it does, look at the end of core.lua. You should see two pieces of code that look like this:
Code:
"oUF-initialConfigFunction", ([[
self:SetWidth(%d)
self:SetHeight(%d)
]]):format(100, 25, cfg.raidScale ))
There will be one for the party header and one for the raid header. If you add the following line after the self:SetHeight line (for each one), scaling should work again.
Here are some links about lua and string.format if this doesn't make sense:
http://www.lua.org/pil/20.html
http://lua-users.org/wiki/StringLibraryTutorial
http://www.cplusplus.com/reference/c...cstdio/printf/
As for the portraits, I'd suggest looking at other oUF layouts and see how they did it.