Title: Show Gallery count?
Last modified: August 21, 2016

---

# Show Gallery count?

 *  [Reliquary9](https://wordpress.org/support/users/reliquary9/)
 * (@reliquary9)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/show-gallery-count/)
 * Hello all!
    Hoping someone can give me a hand with something really quickly. 
   I currently have an album with 15 galleries in it. Each gallery has a name and
   what I’d like to do is have each gallery thumbnail display the current number
   of images in the that gallery.
 * I vaguely remember this being present in previous versions of NGG, but for the
   life of me can’t seem to figure it out now, with the latest version.
 * Any insights would be greatly appreciated!
 * Cheers!
 * [http://wordpress.org/plugins/nextgen-gallery/](http://wordpress.org/plugins/nextgen-gallery/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [tizz](https://wordpress.org/support/users/tizz/)
 * (@tizz)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/show-gallery-count/#post-4434172)
 * Yes it was present, and from this very last version has disappeared.
    It’s because
   the second <p> in div.ngg-description isn’t visible anymore, even if `<p><strong
   ><?php echo $gallery->counter; ?></strong> <?php _e('Photos', 'nggallery'); ?
   ></p>` still exist in \products\photocrati_nextgen\modules\nextgen_basic_album\
   templates\extended.php. The only difference that I notice between the two versions
   in that point is `echo_safe_html`
 * 2.0.33:
 *     ```
       <div class="ngg-description">
                     <p><?php echo $gallery->galdesc; ?></p>
            <?php if (isset($gallery->counter) && $gallery->counter > 0) { ?>
       <p><strong><?php echo $gallery->counter; ?></strong> <?php _e('Photos', 'nggallery'); ?></p>
                           <?php } ?>
                       </div>
       ```
   
 * 2.0.40:
 *     ```
       <div class="ngg-description">
                     <p><?php echo_safe_html($gallery->galdesc); ?></p>
           <?php if (isset($gallery->counter) && $gallery->counter > 0) { ?>
       <p><strong><?php echo $gallery->counter; ?></strong> <?php _e('Photos', 'nggallery'); ?></p>
                          <?php } ?>
                       </div>
       ```
   
 *  Thread Starter [Reliquary9](https://wordpress.org/support/users/reliquary9/)
 * (@reliquary9)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/show-gallery-count/#post-4434176)
 * Well, that certainly makes sense! Thank you for clarifying that for me. Is there
   any way, by chance, to have the gallery count show in the latest version? Or 
   is it something that’s deprecated at this point?
 *  [tizz](https://wordpress.org/support/users/tizz/)
 * (@tizz)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/show-gallery-count/#post-4434178)
 * Sorry but I don’t know, this is a thing that [@photocrati](https://wordpress.org/support/users/photocrati/)
   could take note for plugin developers.
 *  Thread Starter [Reliquary9](https://wordpress.org/support/users/reliquary9/)
 * (@reliquary9)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/show-gallery-count/#post-4434181)
 * I do hope they take note of it. Were I not under a bit of a time crunch myself,
   I’d probably take a stab at it with my mad hack n’ slash php skills … but that
   would probably do more harm than good! XD
 * Thanks for the input, though!
 * Cheers!
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/show-gallery-count/#post-4434200)
 * [@reliquary9](https://wordpress.org/support/users/reliquary9/) & [@tizz](https://wordpress.org/support/users/tizz/)–
   Thanks for pointing this out, we may have inadvertently created an issue with
   the piece of data that is used to show the gallery’s image count.
 * I will advise our developers and hopefully this will be corrected in our next
   release.
 * – Cais.
 *  Thread Starter [Reliquary9](https://wordpress.org/support/users/reliquary9/)
 * (@reliquary9)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/show-gallery-count/#post-4434215)
 * Glad you’re on top of things, Photocrati. It would be a great thing to have available
   again in the next release. I, for one, found it very handy to be able to see 
   if there are new images at a glance!
 * Cheers!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Show Gallery count?’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Reliquary9](https://wordpress.org/support/users/reliquary9/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/show-gallery-count/#post-4434215)
 * Status: not resolved