Klaus, ¿It won't be better to replace this value with the actual pixel size once krpano is loaded?
No, when replacing the original % or prop values by the calculated values, then any further resizing will not work anymore.
Like Nupsi already said there are the pixelwidth and pixelheight variables for that.
Best regards,
Klaus