Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

[Solved] How can I change the "Image 1 of 4" text

  • DianeB
  • DianeB's Avatar Topic Author
  • Offline
  • New Member
More
12 years 7 months ago - 12 years 7 months ago #50401 by DianeB
Hi,
Is there any way to change the text "Image 1 of 4" etc text that comes up on the gallery? Can I make it show 1/4 instead or remove it completely?
Thanks for your help
-D

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #50402 by Katia
That caption is in the javascript file of each engine.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • DianeB
  • DianeB's Avatar Topic Author
  • Offline
  • New Member
More
12 years 7 months ago #50403 by DianeB
Thanks for your help
I was able to change this for slimbox by editing the file
/www/plugins/content/jw_sigpro/includes/js/jquery_slimbox/js/slimbox2.js
and changing this line
counterText:"Image {x} of {y}
to this
counterText:"{x}/{y}
So it now shows "1/3" on the Image popup window instead of "Image 1 of 3"
But how do I change this for fancy box? There is no js folder in the fancybox plugin folder?
-D

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #50404 by Katia
Image x of y can be located in :

plugins/content/jwsigpro/includes/js/jquery_fancybox/popup.php.

Locate the elements and change/translate them to what you want please.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • DianeB
  • DianeB's Avatar Topic Author
  • Offline
  • New Member
More
12 years 7 months ago #50405 by DianeB
Perfect! Thanks for your help  :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum