handle image loading. no dependencies.