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.

suggestion for multilanguage labels and the thumbnail "title" and "alt"

  • orengi
  • orengi's Avatar Topic Author
  • Offline
  • New Member
More
14 years 5 months ago #34441 by orengi
Hi!

I'm from Barcelona. I have the simple image gallery PRO and it's great!

2 suggestions for a better gallery:

about multilanguage. The next version can be multilanguage for the labels.txt?
about "title" and "alt" of the tumbnail, for a better SEO can be a different text?

my solutions:

I changed a little the code for my web and
I added a variable of language.

sigpro.engine.php
$captionFile = "labels_".$_REQUEST.".txt";

labels_es.txt
labels_en.txt
...

It works!


Another suggest: The thumbnail image "title" and "alt" are always "click the image to open" or another text if we change it. I need that the every thumbnail have their own title. I changed this in jw_sigpro.php:

in the construction of the image:
alt="{CAPTION TITLE}" title="{CAPTION TITLE}"

and the tumbnail have the same text of his caption, and a different title and alt for each thumbnail.

---

Congrats for the work!! regards form Barcelona!

Orengi
www.orengi.net

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

More
13 years 2 months ago #34442 by Wesley Phibbs
Thankyou for this information, I want to change the ALT tags also, but cant seem to find this information in the jw_sigpro.php file, has it changed? do yuo know if theres a way to set each image alt with its own custom text?

Thanks
Wes

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


Powered by Kunena Forum