Posted on: 09/05/05 04:42am
By: garfy
I want to add alt tags to all pictures
can you help please
how can i do that
How to add alt tags to pictures
Posted on: 09/06/05 12:13am
By: Nightdude
I use pictures on my site, placing them with-in a table, it looks like this
<td align="center"><img src="path to picture.jpg" alt="alt tag here" border="0" width="101" height="138"></td>
it works well for me on static pages. (This is not the entire code for using a table - just a sample)
Night
How to add alt tags to pictures
Posted on: 09/19/05 02:49pm
By: garfy
can i just use
<p align="justify">[image1_left] alt="alt tag here">
because i use differentr system not pic src
so is this fine enough
it didn't work, you can check my website , first featured article, i can see the alt tag and text
How to add alt tags to pictures
Posted on: 09/19/05 03:01pm
By: Dirk
For the uploaded images, Geeklog will always set an empty alt attribute, i.e. alt=""
bye, Dirk
How to add alt tags to pictures
Posted on: 09/19/05 03:29pm
By: garfy
[QUOTE BY= Dirk] For the uploaded images, Geeklog will always set an empty alt attribute, i.e. alt=""
bye, Dirk[/QUOTE]
but how to change that??
i need to change that urgently
before i had src now i have image1....
do i have to switch back???
How to add alt tags to pictures
Posted on: 09/19/05 03:39pm
By: Dirk
[QUOTE BY= garfy] but how to change that??[/QUOTE]
There is no easy way to change that.
bye, Dirk
How to add alt tags to pictures
Posted on: 01/30/06 05:53pm
By: garfy
there is, i used php my admin and edit the stories in database
How to add alt tags to pictures
Posted on: 01/31/06 02:39pm
By: beewee
Pfff, and you call that 'an easy way'?
How to add alt tags to pictures
Posted on: 01/31/06 04:11pm
By: 1000ideen
You can also use the FCKeditor with new to come GL 1.4.0
How to add alt tags to pictures
Posted on: 01/31/06 05:21pm
By: garfy
whyt is fck editor
i think they should really add alt tag window in next update when you post a story
How to add alt tags to pictures
Posted on: 02/01/06 07:08am
By: 1000ideen
Well everybody needs other features. The FCKeditor is a good choice for more formating also captions.
On the orher hand I wonder if there couldn't be an automatic giving the alt and title tag the same name as the picture?
How to add alt tags to pictures
Posted on: 02/01/06 01:23pm
By: bjudson
I get the feeling that Dirk doesn't think it's all that important cuz people haven't been asking for it, but I have to agree that alt's with my pictures are a good thing.
I recognize that not everyone browsing the web has sight or a graphical browser; not to mention alt is a required part of the HTML 4.01 and XHTML specs!
Not a criticism at all Dirk, but I've been using Geeklog for a while, haven't asked for alt tags, but thought you might like to know there are silent ones out here who do want them!
-Astrogen
How to add alt tags to pictures
Posted on: 02/01/06 02:24pm
By: 1000ideen
I do understand the importance of 'alt' also perhaps for trouble shooting but would that require another input field in the editor or could 'alt' and 'title' be identical with the file name of the pic?
In that case it might be quite easy to do. And on the other hand have you tried the FCKeditor?
How to add alt tags to pictures
Posted on: 02/01/06 02:52pm
By: Dirk
First of all: It's the alt
attribute. There's no such thing as an alt "tag" (sorry, pet peeve).
Secondly, Geeklog uses an alt attribute for uploaded images - it's empty, i.e. alt="". That's the recommended value for images that are only used for decorative purposes, so that's probably okay in most cases. At least it's valid HTML.
Most importantly, though, we have a bit of a technical problem here since Geeklog is translating its special imageX tags into HTML img tags when you save the story, and back again when you edit it. So this works differently from
autotags[*1] (which were only introduced later).
So, garfy, you may be in for a surprise when you edit those stories where you added an alt text in the database. Not sure what the parser will do with those or if it even recognizes the img tags any more then.
Then there's also the question of syntax: How do you add the alt text to Geeklog's imageX tags? What if someone then wants support for the title attribute, too?
Here's one suggestion[*2] .
To summarize: There's bunch of open questions and technical issues around what is basically only a "nice to have" feature, so it isn't/wasn't exactly a top priority ...
bye, Dirk
How to add alt tags to pictures
Posted on: 02/01/06 03:25pm
By: garfy
but how do you use that
Then there's also the question of syntax: How do you add the alt text to Geeklog's imageX tags? What if someone then wants support for the title attribute, too? Here's one suggestion.
i can not set this thing correctly, do i have to alter the code
if i try to put like
[image1_left:descriptionofpicture] that is not working
how to use alt attrib like that Dirk
How to add alt tags to pictures
Posted on: 02/01/06 03:41pm
By: Dirk
[QUOTE BY= garfy] but how do you use that[/QUOTE]
You don't. That was only a suggestion by ByteEnable who apparently made a hack for it (but didn't publish it, AFAIK).
My above post was trying to explain why there's no such thing yet.
bye, Dirk
How to add alt tags to pictures
Posted on: 02/01/06 04:24pm
By: 1000ideen
Ben, just an example. You have a story on your page "Kaity (My Neice)": http://benjudson.com/article.php?story=20060129183829592
What alt attribute could you possibly want? Anything that says "pic of Kaity 1" in case there is a pic missing or people really access it with a text only browser and of course (and that is MY argument) it is also better for search engines.
The same will be true for the title attribute, if wanted. Anything else doesn`t really make sense, does it? Well, you don`t want more information to read in the alt atribute than to be seen on the pic. It may be different though with the title attribute.
Up to now it is so that if you give the story the id "Kaity-My-Neice" instead of 20060129183829592 then also the pics get the file name Kaity-My-Neice_1 etc. This is a great thing and prove how well GL is desinged.
So again my question concerning my above idea to this is: Is it possible to display alt and title identical to the file name? It would help concerning the search engines, trouble shooting or the 1 user per year with a text browser.
It would not help if the title was suposed to be different from the pic as a sort of further leading explanation.
How to add alt tags to pictures
Posted on: 02/01/06 11:20pm
By: bjudson
[QUOTE BY= 1000ideen] Ben, just an example. You have a story on your page "Kaity (My Neice)": http://benjudson.com/article.php?story=20060129183829592
What alt attribute could you possibly want? [/QUOTE]
That is probably a bad example; there are some other posts (posted by my sister shannon) where she has different members of her family other than Kaity. Ideally an alt attribute ;-) would indicate the names of the people left to right.
Or the pictures that are posted from my trip to Lotusphere might indicate what the picture was, or the day it was taken. For the most part all of this can be indicated below the pic; and no it's definitely not a high priority for me. Just a nice to have kinda thing.
As for the using the title where the pic is; you could probably (I might try here if I get a spare minute or two) hack the parser that parses the [image1] tages (like Dirk said), and cause it to put the title in the place of the alt tag. It would be good with Search Engines and such as 1000ideen mentioned.
How to add alt tags to pictures
Posted on: 02/02/06 05:35am
By: NeoNecro
I think it would be a very userfriendly way to inplant sutch a thing when you use a sintax like [image_X|alt:alt text|title:title for the image], I don't think it would be hard to make a praser that fills in an empty alt atribute when it is not specified in the tag.
If it's to hard to implant it in Geeklog, then there's always an option to make a plugin that could do it using autotags.
How to add alt tags to pictures
Posted on: 02/02/06 05:51am
By: 1000ideen
Well I just checked again with GL 1.4.0rc2. The included FCKeditor handles alt, title etc. Just if you want a quick solution.
I don't think it would be hard to make a praser that fills in an empty alt atribute when it is not specified in the tag.
If not specified I`d prefer the alt and title to be identical with the file name.
How to add alt tags to pictures
Posted on: 02/02/06 06:21am
By: garfy
so the problem is solved, we just have to update to 1,4 version of geeklog
when it is bug free
How to add alt tags to pictures
Posted on: 02/02/06 12:10pm
By: bjudson
[QUOTE BY= 1000ideen] Well I just checked again with GL 1.4.0rc2. The included FCKeditor handles alt, title etc. Just if you want a quick solution.[/QUOTE]
I am running 1.4.0rc2 and I don't see where it handles the alt attribute.
Generic FCKeditor might do this, but Geeklog uses the [image1] tags to identify the images. How do you specify an alt and title attribute? Yes if I upload the file manually and link to it with an >img< tag that would work; but I could always do that. I want to be able to use geeklogs built in image tags. :-)
How to add alt tags to pictures
Posted on: 02/02/06 02:10pm
By: 1000ideen
FCKed, full window, insert pic, search server, at the bottom search a pic from your PC, upload aaaand - get stuck. O.k. but it should be this way I thought.
Anyway it would only be a
quick solution
as I said. It is not the one you`d like to see.
How to add alt tags to pictures
Posted on: 02/02/06 03:53pm
By: bjudson
[QUOTE BY= 1000ideen] FCKed, full window, insert pic, search server, at the bottom search a pic from your PC, upload aaaand - get stuck. [/QUOTE]
Kewl. Nope thats a perfectly good work around. I really don't like that editor mind you (and didn't see the option before because I wasn't going full screen).
Thx.
How to add alt tags to pictures
Posted on: 02/03/06 06:18am
By: 1000ideen
Just one more thought on that from the aspect of SEO:
I was looking for a picture of a man wearing headphones and put into google "man headphone" The result is very interesting.
Look at the source code of this! It shows clearly how important dynamic meta tags are, also for Geeklog please!!! To my surprise there are no alt attributes. http://www.fotosearch.com/CRT278/15320-04il/
The next interesting one was this:
http://www.danielsmusicschools.com/whymusic.htm
There is the word headphone in the img "images/babywithheadphones.jpg" and in the alt "Baby with man-sized headphones." The word "headphone" does not turn up in the text at all. This shows the possible importance of alt attributes.
One more. This one shows the word "headphone" only in the alt attributes! Now it`s for sure, concerning SEO the alt is very important.
http://www.rnib.org.uk/xpedio/groups/public/documents/visugate/public_nbjun71.hcsp
So my question is: Is it difficult to display alt and title attribute identical to the file name IF the pic has been uploaded through the GL automatic tagging?
How to add alt tags to pictures
Posted on: 02/03/06 11:17am
By: rasher
[QUOTE BY= 1000ideen] So my question is: Is it difficult to display alt and title attribute identical to the file name IF the pic has been uploaded through the GL automatic tagging?[/QUOTE]
That shouldn't be too much to implement yourself. If your going to go to the effort then you may as well do things like convert _ (underscore) characters to spaces... that kind of thing to make it useful.
And I didn't read all of your reasons for wanting ALT & TITLE tags but you did say something about helping your search engine rankings...
Don't forget the heart of the matter though. If a website only had a picture of a baby with headphones and that was all... Then someone searching for headphones would not be interested in that page. If search engines always worked that way then EVERYONE would think that Google sucks, instead of just miicrosoft hating them.
my
How to add alt tags to pictures
Posted on: 02/03/06 11:52am
By: bjudson
[QUOTE BY= rasher] Don't forget the heart of the matter though. If a website only had a picture of a baby with headphones and that was all... Then someone searching for headphones would not be interested in that page. If search engines always worked that way then EVERYONE would think that Google sucks, instead of just miicrosoft hating them.[/QUOTE]
Not so; anyone who has been on the lookout for artwork, or clipart etc; has probably used Google Images to find these things. A picture might talk about the article (Some singer singing for instance), and the alt tag would describe the picture, including a baby wearing headphones!
How to add alt tags to pictures
Posted on: 02/03/06 12:15pm
By: rasher
I think I hear your point. However in my experiences with Google images, I've found that it does parse the filename. It understands that underscores separate words etc.
So for this reason wouldn't it be just as easy to name you image file accordingly? And if so, wouldn't the ALT and TITLE attributes be redundant?
How to add alt tags to pictures
Posted on: 02/03/06 01:54pm
By: 1000ideen
Thanks all for this lively discussion on a at first dry appearing topic
@rusher: You are right that one should have a propper website and should not lure people to nothing useful.
Well, if you follow the links I supplied and study the source code you will see that the word headphone turns up in various places. One of them was the alt attribute only. ( This here: http://www.rnib.org.uk/xpedio/groups/public/documents/visugate/public_nbjun71.hcsp ) So far I could not prove that the title attribute is important but I assume as it is always in connection with a pic that it too is important.
I found that the name of the pic file or alt attribute is definitely NOT the only thing that makes a site have a good ranking even when looking for a pic at google.
BUT I think that we neglect the alt and also title attribute much too much.
When I discovered through the great V Stats or now GUS plugin that people came to my site because of my pic files I got interested in that. I tend to give my stories a propper name rather than the automatic ID and then also the pic file get this name.
This was the reason some people found me!
How do I use it? Well, when I search for a holiday place and just want a pic or when I want to know about a person and want to see pics. Try something like "Spiritual Teacher", a person you`d probably chose because of what he or she writes and also by what impression the person makes in general.
I'm loughing tears right now, believe me! Did you know what variety of a spiritual teachers there is?
http://www.1stopresume.com/moralsupport.html
http://www.bellaspiritualteacher.com/meherbaba/meherbaba.htm
And this one is special: an "intuitive astrologer". It was definitely not in her. alt attribute. http://www.kelleyrosano.com/about.html
~~~
Just to clarify, I`m loughing about MY idea of what a I expected a spiritual teacher to look like and the variety I found. I am not loughing about the people.
How to add alt tags to pictures
Posted on: 02/03/06 02:34pm
By: rasher
All good points. I guess the moral of the story is that no attribute is insignificant.
Speaking of a good laugh, try searching images for "snake oil".
I haven't read this whole thread so I'm not sure if someone has an immediate need or if this is just an interesting discussion. But if I had a request like this from a client I would consider using the Media Gallery plugin. I'm not sure if the feature is complete yet but if not it will be in a few days...
With the MG plugin you can link albums, photos and slideshows into your story from Media Gallery. Also you can have a caption shown below the image. The guy that created the plugin is very responsive and open to suggestions. So if he doesn't already, you could request that the caption also shows up in the TITLE attribute and then maybe parse out the file name nicely for the ALT. That way you would have the best of both worlds.
Now off to find a spiritual programmer...
How to add alt tags to pictures
Posted on: 02/03/06 02:55pm
By: bjudson
[QUOTE BY= rasher]So for this reason wouldn't it be just as easy to name you image file accordingly? And if so, wouldn't the ALT and TITLE attributes be redundant? [/QUOTE]
Geeklog renames my pictures to the storyid followed by an underscore and the picture #. So what I name the pic becomes irrelevant. Yes I could name the story something useful, but that limits me as to what I can write, and really just one picture if i want accurate results. ;-)
The FCKEditor solution is still the best solution to this problem so far; but it begs the question that if the FCKEditor can add an alt attribute why can't the basic editor do it with an extra textbox in the submit form per image?
How to add alt tags to pictures
Posted on: 02/03/06 03:48pm
By: rasher
Oh ya, good point... I forgot about the image name deal, I've been working with plugins too much lately. Yep what I had mentioned is irrelevant aside from perhaps the plugin solution.
Speaking of which. I would imagine the reason why it's not available as a field in Geeklog is because this wheel hasn't squeaked enough yet. Like anything, they (the developers) try to address the concerns of the masses first. And the masses are so massive that they can only do so much at a time.
A thread like this is just the way to bring attention to wanted feature. From the few posts I've read in this thread, there are some pretty strong arguments to justify this feature. I'd say you guys have done a good job justifying it. Now you just need to write a plugin or obviously DIY if you're up to it.
I would also be willing to bet that if someone wrote a plugin first and ironed out the details... well then it would be cake for the developers to ultimately fold it into Geeklog.
I'm starting to thing I should have read more posts. I didn't mean to come in hear and start beating a poor dead horse. So I'll duck out now before I start quoting some more features that never existed...
I'm also going to have to look into this FCKEditor you speak of. That's how disconnected I am, I have no idea what it does.
Take it easy guys, happy Friday,
Randy
How to add alt tags to pictures
Posted on: 02/03/06 04:01pm
By: 1000ideen
So I'll duck out now before I start quoting some more features that never existed...
Yea, that`s the sign, that`s the sign! Throw a blanket over your head and speak of features that never existed. We will make you our leader!
Re: How to add alt tags to pictures
Posted on: 05/23/08 05:13am
By: Anonymous (The Guitar Master)
Right.
I couldn't find a definitive answer to this question anywhere, so here is my solution:
Option 1: Enable fckeditor in your config.php by changing
Text Formatted Code
$_CONF['advanced_editor'] = true;
Option 2: Add the following line to your config.php in the admin_html section
Text Formatted Code
'img' => array('class' => 1, 'id' => 1, 'align' => 1, 'src' => 1, 'width' => 1, 'height' => 1, 'alt' => 1),
If it is the last line of the array then you want to remove the last comma. If it is not the last line then leave the trailing comma in. The bottom line should have no comma, and every other line should have one. eg:
Text Formatted Code
$_CONF['admin_html'] = array (
'p' => array('class' => 1, 'id' => 1, 'align' => 1),
'div' => array('class' => 1, 'id' => 1),
'span' => array('class' => 1, 'id' => 1),
'table' => array('class' => 1, 'id' => 1, 'width' => 1, 'border' => 1,
'cellspacing' => 1, 'cellpadding' => 1),
'tr' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1),
'th' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1,
'colspan' => 1, 'rowspan' => 1),
'td' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1,
'colspan' => 1, 'rowspan' => 1),
'img' => array('class' => 1, 'id' => 1, 'align' => 1, 'src' => 1, 'width' => 1, 'height' => 1, 'alt' => 1)
);
http://www.theguitarmaster.co.uk[*3]