Images are now being displayed as expected