New version of idx/img thingy

New version of idx/img thingy