minor updates - getting the real dimensions from the actual image