React component to load images with a little finesse