resize index picture