fixed image rendering, some hacky solution for loading the images, should probably go to redis