minor changes to the way images are loaded - now width and height are visible