Lightbox Plus Colorbox
[resolved] how to add "of" text to number count... I.E. 1 "of" 3, 2 "of" 3", (5 posts)

  1. jStormThaKid
    Posted 3 years ago #

    I am trying to just simply add "of" to the code, but I can't seem to find where it needs to go... I simply want the lightbox to read 1 "of" 3, 2 "of" 3", etc...


  2. DigitalEssence
    Posted 3 years ago #

    I had the same issue as you. The current/total numbering appears to be broken and was just displaying 68 78 88 instead of 6 of 8, 7 of 8 etc.

    If you go to the settings > interface > Image Grouping > Grouping Labels and what I added was "one" and "of" in the first and second box respectively and I now get "image 3 of 7" output in my lightbox. I'm sure this isn't how it's supposed to be done but I can move on now.

    I noticed that the readme says: "Fixed image X of X problem, can disable Image X of X" so I'm wondering if I'm missing something simple here?

  3. blakevond
    Posted 3 years ago #

    Thanks for the tip DigitalEssence. Worked like a charm.

  4. jStormThaKid
    Posted 3 years ago #

    Hey DigitalEssence, Thank You for taking the time to respond to this! It helped out alot!

  5. rschulze
    Posted 3 years ago #

    It's in the Javascript.
    line 35:
    Just delete the "image", save and upload. Then you'll have your "# of #", instead of "image # of #".

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.