2
   

changing image alt in phpbb?

 
 
Reply Sat 28 Feb, 2004 11:57 am
I would like to change the image alt tags of the post icons. But I'm worried that if I do then all the tags of the same image will be the same, obviously, and it will look like spam. Will it?
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 2 • Views: 3,073 • Replies: 23
No top replies

 
Craven de Kere
 
  1  
Reply Sat 28 Feb, 2004 04:33 pm
It won't make any difference. And it won't be seen as spam.
0 Replies
 
khisanthax
 
  1  
Reply Sat 28 Feb, 2004 09:26 pm
I thought the image alt tags made a difference?
0 Replies
 
Craven de Kere
 
  1  
Reply Sat 28 Feb, 2004 09:32 pm
Yeah, but mainly when they replace text.

For example if a menu system is made entirely of images it should have ways for the link to have text for the SE's content.

In addition the alt text helps actually index the images.

In this case, there is already text. And the image isn't something anyone will be searching for.

So it'll make little to no difference.

Now if you want to do it you should use the topic title. If you are going to have a generic text for all the images it would not help much.
0 Replies
 
khisanthax
 
  1  
Reply Sat 28 Feb, 2004 10:12 pm
I was thinking of having each image have it's own text, not each instance. but you suggest making the alt the title?
0 Replies
 
Craven de Kere
 
  1  
Reply Sat 28 Feb, 2004 10:27 pm
I suggest not doing anything because the alt text is an explanation of teh image.

But if you were to change it I'd suggest using the topic title.
0 Replies
 
khisanthax
 
  1  
Reply Sat 6 Mar, 2004 02:30 pm
by putting in the variable or just the text?
0 Replies
 
Craven de Kere
 
  1  
Reply Sat 6 Mar, 2004 03:50 pm
Use the variable, as it'll need to vary.
0 Replies
 
khisanthax
 
  1  
Reply Sat 6 Mar, 2004 06:52 pm
wow, that's amazing, I mean, when I first read the post my brain said "page title" and now that I read it, wow.

I can add the variable for the alt tag in the tpl file or the lang file?
0 Replies
 
Craven de Kere
 
  1  
Reply Sat 6 Mar, 2004 06:59 pm
Look, just replace this:

{topicrow.L_TOPIC_FOLDER_ALT}

with this:

{topicrow.TOPIC_TITLE}

And tell me if that's what you wanted.
0 Replies
 
khisanthax
 
  1  
Reply Sun 7 Mar, 2004 04:56 pm
Yes that's exactly what I meant. With your lead I also did the same for the forum names in index_body.tpl. They both worked out fine, thank you.
0 Replies
 
khisanthax
 
  1  
Reply Tue 9 Mar, 2004 04:59 pm
I just notice that when I replace the alt tag with topic title, after the posting icon I get this:

(from 04 Feb 2004 to 03 Jun 2004)" title="No new posts" />

as if there's an extra quotation mark or such. I checked the tpl and there are no quotation marks, any ideas?
0 Replies
 
Craven de Kere
 
  1  
Reply Tue 9 Mar, 2004 05:07 pm
I checked and didn't see that.

Make sure to replace both the alt and the title if your icon is linked.
0 Replies
 
khisanthax
 
  1  
Reply Tue 9 Mar, 2004 05:25 pm
It appears to happen in some forums and not others. I did as you requested, the problem still occurs in the training grounds

this is what the code looks like:

Code:<td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{topicrow.TOPIC_TITLE}" title="{topicrow.TOPIC_TITLE}" /></td>
0 Replies
 
Craven de Kere
 
  1  
Reply Tue 9 Mar, 2004 05:31 pm
The code is correct. It's probably characters in titles that is mucking it up.

But there's no real point in giving it alt tags unless it's a link.

The whole mantra about using alt tags for SEO is when images replace text in a menu. When images are serving as links. Since there's no anchor text search engines can't tell what the context of the link should be, depriving you of the anchor text link context.

You are worried about putting alt tags on those icons but the icons aren't even linked to the topics!
0 Replies
 
khisanthax
 
  1  
Reply Thu 11 Mar, 2004 11:20 am
gotcha, so I can include the image as a link, no need for a mod, right? It's just copy and paste, no problem, right?

So, if I make the image a link then I just have to remove any apostrophes or quotation marks and that should set it right.
0 Replies
 
Craven de Kere
 
  1  
Reply Thu 11 Mar, 2004 11:29 am
You'll have to police the thread titles for those characters. And I'll repeat again that it will not help you at all with SEO with your setup. You are best leaving it alone.
0 Replies
 
khisanthax
 
  1  
Reply Thu 11 Mar, 2004 05:47 pm
yeah that's what I was thinking. How do you pull it off with your links page?

reminder: in some post I read you wanted someone to remind you about releasing some changes to your seo mod or something.
0 Replies
 
Craven de Kere
 
  1  
Reply Thu 11 Mar, 2004 05:49 pm
Yeah they reminded me but I have to finish two projects for clients before I get to do free stuff.

I'm in between ISPs at home so my schedule won't really permitt it till after the 16th.

What links page were you referring to?
0 Replies
 
khisanthax
 
  1  
Reply Thu 11 Mar, 2004 05:52 pm
your portal section has a links directory, no?

Just thought to remind you is all. May I ask out of curiousity what you're doing for clients now?
0 Replies
 
 

Related Topics

In How much time a website can be developed? - Question by aussiejumpingcastle
Webdevelopment and hosting - Question by harisit2005
Showing an Ico File - Discussion by Brandon9000
how to earn money in internet - Discussion by rizwanaraj
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
CSS Border style colors - Question by meesa
There is no Wisdom in Crowds - Discussion by ebrown p
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
I'm the developer - Discussion by Nick Ashley
 
  1. Forums
  2. » changing image alt in phpbb?
Copyright © 2021 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 07/31/2021 at 03:01:30