title: I need text concering the picture number to change in jcarousel
body: <p>I have a jcarousel using in Expression Engine. The code is as below</p>
  
  <pre><code>    &lt;div id="carousela" class="jcarousel image-cell"&gt;
        &lt;ul&gt;
          {exp:cg_industry_data:images vehicle_id="{id}" size="large"}
          &lt;li {if {index} == {segment_3}} class="active"{/if}&gt;&lt;a href="car-gallery/{id}/{index}"  onclick="return false" class="noevents"&gt;&lt;img src="{img_url}" alt="" /&gt;&lt;/a&gt; &lt;/li&gt;
          {/exp:cg_industry_data:images}
        &lt;/ul&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>The carousel works just fine.</p>
  
  <p>Now I want a text something like below <em>Picture xxx of {imageCount}</em> .I need to make it such that it displays in which image currently being viewed. The imageCount works just fine. Can someone please help me on that/? Or maybe atleast if possible when jcarousel is used how to determine which image being currently displayed?The rendered html looks like below</p>
  
  <pre><code>&lt;div class="index"&gt;Picture 1 of 15&lt;/div&gt;
  &lt;div id="carousela" class="jcarousel image-cell"&gt;
    &lt;ul&gt;
      &lt;li  class="active"&gt;&lt;a href="car-gallery/D_2650745/1"  onclick="return false" class="noevents"&gt;&lt;img src="/0265/0745/2014_hyundai_i30_stock_2650745_1_l.jpg" alt="" /&gt;&lt;/a&gt; &lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/2"  onclick="return false" class="noevents"&gt;&lt;img src="/0265/0745/2014_hyundai_i30_stock_2650745_2_l.jpg" alt="" /&gt;&lt;/a&gt; &lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/3"  onclick="return false" class="noevents"&gt;&lt;img src="/0265/0745/2014_hyundai_i30_stock_2650745_3_l.jpg" alt="" /&gt;&lt;/a&gt; &lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/4"  onclick="return false" class="noevents"&gt;&lt;img src="/0265/0745/2014_hyundai_i30_stock_2650745_4_l.jpg" alt="" /&gt;&lt;/a&gt; &lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/5"  onclick="return false" class="noevents"&gt;&lt;img src="/0265/0745/2014_hyundai_i30_stock_2650745_5_l.jpg" alt="" /&gt;&lt;/a&gt; &lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/6"  onclick="return false" class="noevents"&gt;&lt;img src="/0265/0745/2014_hyundai_i30_stock_2650745_6_l.jpg" alt="" /&gt;&lt;/a&gt; &lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/7"  onclick="return false" class="noevents"&gt;&lt;img src="/0265/0745/2014_hyundai_i30_stock_2650745_7_l.jpg" alt="" /&gt;&lt;/a&gt; &lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/8"  onclick="return false" class="noevents"&gt;&lt;img src="/0265/0745/2014_hyundai_i30_stock_2650745_8_l.jpg" alt="" /&gt;&lt;/a&gt; &lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/9"  onclick="return false" class="noevents"&gt;&lt;img src="/0265/0745/2014_hyundai_i30_stock_2650745_9_l.jpg" alt="" /&gt;&lt;/a&gt; &lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/10"  onclick="return false" class="noevents"&gt;&lt;img src="/0265/0745/2014_hyundai_i30_stock_2650745_10_l.jpg" alt="" /&gt;&lt;/a&gt; &lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/11"  onclick="return false" class="noevents"&gt;&lt;img src="/0265/0745/2014_hyundai_i30_stock_2650745_11_l.jpg" alt="" /&gt;&lt;/a&gt; &lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/12"  onclick="return false" class="noevents"&gt;&lt;img src="/0265/0745/2014_hyundai_i30_stock_2650745_12_l.jpg" alt="" /&gt;&lt;/a&gt; &lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/13"  onclick="return false" class="noevents"&gt;&lt;img src="/0265/0745/2014_hyundai_i30_stock_2650745_13_l.jpg" alt="" /&gt;&lt;/a&gt; &lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/14"  onclick="return false" class="noevents"&gt;&lt;img src="/0265/0745/2014_hyundai_i30_stock_2650745_14_l.jpg" alt="" /&gt;&lt;/a&gt; &lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/15"  onclick="return false" class="noevents"&gt;&lt;img src="/0265/0745/2014_hyundai_i30_stock_2650745_15_l.jpg" alt="" /&gt;&lt;/a&gt; &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;
  &lt;div id="navigation" class="clearfix"&gt;
  &lt;span class="button prevPage"&gt;&lt;/span&gt;
  &lt;div id="carousel"&gt;
    &lt;ul&gt;
      &lt;li  class="active"&gt;&lt;a href="car-gallery/D_2650745/1"&gt;&lt;span class="img" style="background:url(/0265/0745/2014_hyundai_i30_stock_2650745_1_t.jpg) center;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/2"&gt;&lt;span class="img" style="background:url(/0265/0745/2014_hyundai_i30_stock_2650745_2_t.jpg) center;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/3"&gt;&lt;span class="img" style="background:url(/0265/0745/2014_hyundai_i30_stock_2650745_3_t.jpg) center;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/4"&gt;&lt;span class="img" style="background:url(/0265/0745/2014_hyundai_i30_stock_2650745_4_t.jpg) center;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/5"&gt;&lt;span class="img" style="background:url(/0265/0745/2014_hyundai_i30_stock_2650745_5_t.jpg) center;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/6"&gt;&lt;span class="img" style="background:url(/0265/0745/2014_hyundai_i30_stock_2650745_6_t.jpg) center;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/7"&gt;&lt;span class="img" style="background:url(/0265/0745/2014_hyundai_i30_stock_2650745_7_t.jpg) center;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/8"&gt;&lt;span class="img" style="background:url(/0265/0745/2014_hyundai_i30_stock_2650745_8_t.jpg) center;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/9"&gt;&lt;span class="img" style="background:url(/0265/0745/2014_hyundai_i30_stock_2650745_9_t.jpg) center;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/10"&gt;&lt;span class="img" style="background:url(/0265/0745/2014_hyundai_i30_stock_2650745_10_t.jpg) center;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/11"&gt;&lt;span class="img" style="background:url(/0265/0745/2014_hyundai_i30_stock_2650745_11_t.jpg) center;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/12"&gt;&lt;span class="img" style="background:url(/0265/0745/2014_hyundai_i30_stock_2650745_12_t.jpg) center;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/13"&gt;&lt;span class="img" style="background:url(/0265/0745/2014_hyundai_i30_stock_2650745_13_t.jpg) center;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/14"&gt;&lt;span class="img" style="background:url(/0265/0745/2014_hyundai_i30_stock_2650745_14_t.jpg) center;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li &gt;&lt;a href="car-gallery/D_2650745/15"&gt;&lt;span class="img" style="background:url(/0265/0745/2014_hyundai_i30_stock_2650745_15_t.jpg) center;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;
  &lt;span class="button nextPage" &gt;&lt;/span&gt; 
  </code></pre>