Add image overlays and modified the image loading functionality