UILoader Size

Hey guys, I’m having trouble setting the UILoader size to that of the content that’s loaded in. It seems that when the UILoader is first loaded, it’s width and height is set to 100. If anyone would be kind enough to give some guidance as to how I can go about setting the UILoader width and height to that of the JPEG that is loaded at runtime, it would be greatly appreciated. Thank you.