Having trouble with centering variable size images inside a
As i understand it, centering can be done by setting .x and
however I am unable to access the actual width and height of
the images in order to calculate the proper coordinates for
I have tried all available width or height properties, and
none of them seem to return the actual values after resizing...
I either get 0, NaN or the fixed value i have set it to.