Adding simplecache for get_img_code.