-
AuthorPosts
-
May 7, 2009 at 12:01 pm #140974
Hi there!
I am trying to make the JA Slideshow a bit more SEO-friendly. For this purpose, I’ll need to include a custom alt tag for the img. Right now, JA Slideshow includes the name of the image as the alt tag.
Could anyone help me learn how to include custom alt tags for the images in the JA Slideshow?
Your support is much appreciated.
Kind regards.
May 13, 2009 at 1:47 pm #304532Hi! Thanks for your comment.
Sure, the alt tag is what I need, but right now the alt tag includes the name of the pic I’m using instead of a description. Any idea on how to change it so that a description is inserted instead of the name of the pic?
I appreciate your comments.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 5, 2009 at 5:03 am #313299Hello jcch!
To resolve your issue, You will modify a little code where generate text for image’s atl.
Which JA’s Template you use? I need know to give u the best solution.
But now, i will get two solutions with two case:
case 1: you have only used JA Slideshow2 and did not install any JA’s template:
You open file: modulesmod_jaslideshow2tmpldefault.php
+ at line 5
[PHP] <div class=”ja-slide-item”><img src=”<?php echo $folder.$images[$i];?>” alt=”<?php echo $images[$i];?>”/>[/PHP]
==>> replace:
[PHP]<div class=”ja-slide-item”><img src=”<?php echo $folder.$images[$i];?>” alt=”<?php echo strip_tags($captionsArray[$i]);?>”/>[/PHP]case : install with JA’s template
You open file : templatesTEMPLATE_NAMEhtmlmod_jaslideshow2default.php
+ at line 5
[PHP] <div class=”ja-slide-item”><img src=”<?php echo $folder.$images[$i];?>” alt=”<?php echo $images[$i];?>”/>[/PHP]
==>> replace:
[PHP]<div class=”ja-slide-item”><img src=”<?php echo $folder.$images[$i];?>” alt=”<?php echo strip_tags($captionsArray[$i]);?>”/>[/PHP]Good luck
June 12, 2010 at 4:41 am #346825Your posts are really helpful. Thank you very much for updating me with JA. I used to have a lot of problems with JA settings but because of your responses I was able to solve it. Thanks.
July 8, 2010 at 3:01 pm #349336Hi! is there any video tutorial for this one? I am not getting it right, I was wondering if anyone can help me out?
July 8, 2010 at 3:26 pm #349339I was also looking for one but I can’t seem to find one… Anyhow, the scripts here are sufficient.. good thing that I was able to get it this time…
July 8, 2010 at 4:18 pm #349342Same here @VPN, i thought I won’t be able to get it. I am also new with scripting and at times it’s difficult for me to get it. I always ask with our co-members to resolve issues with joomla.
July 8, 2010 at 4:41 pm #349344Hi! where could I get to ” modulesmod_jaslideshow2tmpldefault.php” I am having problems looking up for this file? Hope someone helps…
July 9, 2010 at 2:49 pm #349457Hi! is there any video tutorial for this? I am a beginner and It’s really difficult for me to do this 🙁 I hope someone will help me solve this.
July 9, 2010 at 11:21 pm #349497yep same here! I am new here and I need video tutorials for me to understand. I can’t seem to find where the “alt” is.. can anybody help?
October 3, 2010 at 1:48 pm #357532I tested method mentioned by other poster above but it didn’t work. I have changed them but they are still not showing up on website source.
Am I am doing something wrong?
December 23, 2010 at 6:36 am #368262You only need to set Alt tags for images that are
January 9, 2011 at 10:04 pm #370972are what ?
-
AuthorPosts
This topic contains 16 replies, has 15 voices, and was last updated by ngoc thuy 12 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum