fixing up the image portal