Tiled Gallery: Moved image height and width attributes to a style attribute so that jQuery width and height accessors can access them. This way the initial resize will work even without waiting for the images to load.