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.

adding "alt tags" to galleries?

  • Roger Bolton
  • Roger Bolton's Avatar Topic Author
  • Offline
  • New Member
More
16 years 3 months ago #17466 by Roger Bolton
adding "alt tags" to galleries? was created by Roger Bolton
Has anyone modified SIG PRO to return alt tags on the thumbnails and images?  Ideally I'd like to be able to set a default tag using the mambot global settings and then set the same alt tag for each image in a gallery as an additional flag.

eg like:

{gallery}foldername:400:400:0:"this is the alt tag for all images in this gallery"{/gallery}

anyone done this?  devs please consider this, it's key functionality for SEO and is pretty basic functionality....

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

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
16 years 3 months ago #17467 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: adding "alt tags" to galleries?
Hi my friend!

Hmmm, lets try this
Open to edit the sig pro file and ad this line ( line 84 )
if($_params[4]) $_galAlt_ = $_params[4]; else $_galAlt_ = $clickopen;
After that, change the strings
<img alt="'.$clickopen.'"
to
<img alt="'.$_galAlt_.'"

Always, take a back up of the file before begin the modifications!

Thank you!

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

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


Powered by Kunena Forum