473,395 Members | 1,668 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

letting a search engine 'see' image text?

There's probably a standard answer for this, but it's never cropped up
for me before.

I have a (png) image that includes some text (a labelled group photo
of a conference), and it'd be useful if a search engine can find those
embedded names too -- without redundantly placing them in visible HTML
text. What's a good way to do this?

Some of the text can go in the 'alt' tag of the image, which I suppose
is checked by a search, but that could be a bit long. Suppose I could
use white-on-white like the spammers do... (:-/) I expect there's a
recognized way, though.
-- Pete --
--
================================================== ==========================
The address in the header is a Spam Bucket -- don't bother replying to it...
(If you do need to email, replace the account name with my true name.)
Oct 10 '07 #1
20 2712
On 10/10/2007 12:03 PM, Pete wrote:
There's probably a standard answer for this, but it's never cropped up
for me before.

I have a (png) image that includes some text (a labelled group photo
of a conference), and it'd be useful if a search engine can find those
embedded names too -- without redundantly placing them in visible HTML
text. What's a good way to do this?

Some of the text can go in the 'alt' tag of the image, which I suppose
is checked by a search, but that could be a bit long. Suppose I could
use white-on-white like the spammers do... (:-/) I expect there's a
recognized way, though.
-- Pete --

Imagine a blind person using an audio browser. He can't see your image,
but his browser "reads" the rest of the page aloud to him. The audio
browser also reads the text from ALT attributes. The ALT attribute for
your image should thus contain enough text to at least inform a blind
user what the image was about. If that cannot be done without quoting
the text in the image, then you should indeed quote the text in the ALT
attribute.

This is one reason why images should NOT be used to convey text.

--
David E. Ross
<http://www.rossde.com/>

Natural foods can be harmful: Look at all the
people who die of natural causes.
Oct 10 '07 #2
In article <PP******************************@softcom.net>,
David E. Ross <no****@nowhere.notwrote:
>On 10/10/2007 12:03 PM, Pete wrote:
>There's probably a standard answer for this, but it's never cropped up
for me before.

I have a (png) image that includes some text (a labelled group photo
of a conference), and it'd be useful if a search engine can find those
embedded names too -- without redundantly placing them in visible HTML
text. What's a good way to do this?

Imagine a blind person using an audio browser. He can't see your image,
but his browser "reads" the rest of the page aloud to him. The audio
browser also reads the text from ALT attributes. The ALT attribute for
your image should thus contain enough text to at least inform a blind
user what the image was about. If that cannot be done without quoting
the text in the image, then you should indeed quote the text in the ALT
attribute.
Yes -- as long as as search engine does the same... (I presume so, but that
was my original question.) This particular image would probably not be much
use to a blind user, as it simply associates names with faces.
>
This is one reason why images should NOT be used to convey text.
Totally agreed, normally. In this case though a) the image was sent to
me annotated, and b) the text has to be closely placed to match the
people -- something I wouldn't trust a browser to do.

Thanks,
-- Pete --
>
--
David E. Ross
<http://www.rossde.com/>

Natural foods can be harmful: Look at all the
people who die of natural causes.

--
================================================== ==========================
The address in the header is a Spam Bucket -- don't bother replying to it...
(If you do need to email, replace the account name with my true name.)
Oct 11 '07 #3
In article <fe*************@news.t-online.com>,
Thomas Mlynarczyk <th****@mlynarczyk-webdesign.dewrote:
>
But I don't know if search engines would actually follow the longdesc-link.
This is the problem -- I haven't found a (text or otherwise) browser that
sees longdesc at all, so maybe it's unlikely that a search engine would,
either.

I may eventually just have to see if the alt attribute shows up in a
google...
>

There is no alt tag. There is just an alt *attribute*.
Sorry -- sloppy language... (:-/)
>
-- Pete --
--
================================================== ==========================
The address in the header is a Spam Bucket -- don't bother replying to it...
(If you do need to email, replace the account name with my true name.)
Oct 11 '07 #4
In our last episode, <fe**********@jwgibbs.CChem.Berkeley.EDU>, the lovely
and talented Pete broadcast on comp.infosystems.www.authoring.html:
In article <fe*************@news.t-online.com>,
Thomas Mlynarczyk <th****@mlynarczyk-webdesign.dewrote:
>>
But I don't know if search engines would actually follow the longdesc-link.
This is the problem -- I haven't found a (text or otherwise) browser that
sees longdesc at all, so maybe it's unlikely that a search engine would,
either.
I may eventually just have to see if the alt attribute shows up in a
google...
Why not just style descriptive text display: none?

>>

There is no alt tag. There is just an alt *attribute*.
Sorry -- sloppy language... (:-/)
>>
-- Pete --

--
Lars Eighner <http://larseighner.com/ <http://myspace.com/larseighner>
Countdown: 467 days to go.
What do you do when you're debranded?
Oct 11 '07 #5
I may eventually just have to see if the alt attribute shows up in a
google...
Beware of using ALT. If I turn images off, then I'll see your "hidden"
text in my browser, where you might have captioned your image "Pete (The
Bastard)" :-)

I'd see it if I viewed the source anyway.

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
Oct 11 '07 #6
Pete wrote:
>
I may eventually just have to see if the alt attribute shows up in a
google...
AIUI, search engines tend to not index alt text at all, though some may
if the image is a link.

--
Berg
Oct 11 '07 #7
In article <47********@news.greennet.net>,
Steve Swift <St***********@gmail.comwrote:
>I may eventually just have to see if the alt attribute shows up in a
google...

Beware of using ALT. If I turn images off, then I'll see your "hidden"
text in my browser, where you might have captioned your image "Pete (The
Bastard)" :-)

I'd see it if I viewed the source anyway.
Hey, I'm not being that Machiavellian... (:-))

Not trying to conceal anything here -- actually wanting to *provide* info
for search engines while avoiding redundancy.

-- Pete --

--
================================================== ==========================
The address in the header is a Spam Bucket -- don't bother replying to it...
(If you do need to email, replace the account name with my true name.)
Oct 11 '07 #8
In article <5n************@mid.individual.net>,
Bergamot <be******@visi.comwrote:
>Pete wrote:
>>
I may eventually just have to see if the alt attribute shows up in a
google...

AIUI, search engines tend to not index alt text at all, though some may
if the image is a link.
Ehh. Not too useful then.

What about '<meta name="keywords" content=...>', that I seem to remember
was once recommended for this sort of thing? I also remember hearing
that engines tend to ignore this because of misuse...

-- Pete --

--
================================================== ==========================
The address in the header is a Spam Bucket -- don't bother replying to it...
(If you do need to email, replace the account name with my true name.)
Oct 11 '07 #9
Well, responding to myself... [after doing my own googling!]

In article <fe**********@jwgibbs.CChem.Berkeley.EDU>,
Pete <ne*******@jwgibbs.cchem.berkeley.eduwrote:
>In article <5n************@mid.individual.net>,
Bergamot <be******@visi.comwrote:
>>
AIUI, search engines tend to not index alt text at all, though some may
if the image is a link.
Ehh. Not too useful then.
But Google itself seems to recommend using the alt attribute to identify
image content, as does a tutorial or two, so I guess that *is* the thing
to do.
>
What about '<meta name="keywords" content=...>', that I seem to remember
was once recommended for this sort of thing? I also remember hearing
that engines tend to ignore this because of misuse...
And I was right about that...(as per many web articles) It may still be
attended to at a very low priority level, but only as a last resort.

-- Pete --
--
================================================== ==========================
The address in the header is a Spam Bucket -- don't bother replying to it...
(If you do need to email, replace the account name with my true name.)
Oct 11 '07 #10
In article <fe**********@jwgibbs.CChem.Berkeley.EDU>,
ne*******@jwgibbs.cchem.berkeley.edu (Pete) wrote:
In article <47********@news.greennet.net>,
Steve Swift <St***********@gmail.comwrote:
I may eventually just have to see if the alt attribute shows up in a
google...
Beware of using ALT. If I turn images off, then I'll see your "hidden"
text in my browser, where you might have captioned your image "Pete (The
Bastard)" :-)

I'd see it if I viewed the source anyway.
Hey, I'm not being that Machiavellian... (:-))

Not trying to conceal anything here -- actually wanting to *provide* info
for search engines while avoiding redundancy.

-- Pete --
I think in your particular case that if you really want search engines
to find the information, then you should include it in a paragraph
of actual text along with the image (even though the image itself
contains annotation).

Elsewhere in this thread there was mention of using keywords, and
whether or not search engines look at this: in previous discussions
here, one opinion was that search engines take into account whether
or not the keywords are also present in page text. I have no idea
if this is actually true or not.
Oct 12 '07 #11
David Stone wrote:
>
I think in your particular case that if you really want search engines
to find the information, then you should include it in a paragraph
of actual text along with the image (even though the image itself
contains annotation).
I still believe alt attributes are useful (i.e., used by search engines)
containers of indexable text. Google returns one of my pages when I
search for text included only in alt texts on that page. I'm convinced.
>
Elsewhere in this thread there was mention of using keywords, and
whether or not search engines look at this: in previous discussions
here, one opinion was that search engines take into account whether
or not the keywords are also present in page text.
In which case the meta keywords can be ignored and the textual content
used for indexing, which is what Google tells us to do anyway.
I have no idea if this is actually true or not.
I am likewise unenlightened in the mystical secrets of the SE's.
--
John
Pondering the value of the UIP: http://improve-usenet.org/
Oct 12 '07 #12
On 10/10/2007 5:34 PM, Pete wrote:
In article <PP******************************@softcom.net>,
David E. Ross <no****@nowhere.notwrote:
>On 10/10/2007 12:03 PM, Pete wrote:
>>There's probably a standard answer for this, but it's never cropped up
for me before.

I have a (png) image that includes some text (a labelled group photo
of a conference), and it'd be useful if a search engine can find those
embedded names too -- without redundantly placing them in visible HTML
text. What's a good way to do this?
Imagine a blind person using an audio browser. He can't see your image,
but his browser "reads" the rest of the page aloud to him. The audio
browser also reads the text from ALT attributes. The ALT attribute for
your image should thus contain enough text to at least inform a blind
user what the image was about. If that cannot be done without quoting
the text in the image, then you should indeed quote the text in the ALT
attribute.
Yes -- as long as as search engine does the same... (I presume so, but that
was my original question.) This particular image would probably not be much
use to a blind user, as it simply associates names with faces.
>This is one reason why images should NOT be used to convey text.
Totally agreed, normally. In this case though a) the image was sent to
me annotated, and b) the text has to be closely placed to match the
people -- something I wouldn't trust a browser to do.

Thanks,
Cut the text from the image. Then use <div</div(with appropriate
CSS if necessary) to group the image with the related HTML text. If you
do that, the necessary ALT text can be brief.

--
David E. Ross
<http://www.rossde.com/>

Natural foods can be harmful: Look at all the
people who die of natural causes.
Oct 12 '07 #13
On Fri, 12 Oct 2007, John Hosking wrote:
I still believe alt attributes are useful (i.e., used by search engines)
containers of indexable text. Google returns one of my pages when I search
for text included only in alt texts on that page.
Can you give the address of that page and the specific text?

Last time when I checked, Google's web search indexed ALT text only in
<a href=...><img alt=...></a>

Google's image search seems to index ALT text always.
Oct 12 '07 #14
Andreas Prilop wrote:
On Fri, 12 Oct 2007, John Hosking wrote:
>I still believe alt attributes are useful (i.e., used by search engines)
containers of indexable text. Google returns one of my pages when I search
for text included only in alt texts on that page.

Can you give the address of that page and the specific text?
Sure. I used "Manon Emmenegger beim Frühlingsturnier 2005" which is on
(only) the page at <http://www.zugerfechtclub.ch/(third picture below
the navbar, it's the one with the little girl) ...
>
Last time when I checked, Google's web search indexed ALT text only in
<a href=...><img alt=...></a>
.... and which is also not a link.
>
Google's image search seems to index ALT text always.
And maybe all of them?
--
John
Pondering the value of the UIP: http://improve-usenet.org/
Oct 12 '07 #15
On Fri, 12 Oct 2007, John Hosking wrote:
I used "Manon Emmenegger beim Frühlingsturnier 2005" which is on (only)
the page at <http://www.zugerfechtclub.ch/>
Sorry, no.
| These terms only appear in links pointing to this page: manon emmenegger
http://www.google.com/search?q=cache...negger&strip=1

Compare with
http://www.google.com/search?q=cache...+Spass&strip=1
Oct 12 '07 #16
Andreas Prilop wrote:
On Fri, 12 Oct 2007, John Hosking wrote:
>I used "Manon Emmenegger beim Frühlingsturnier 2005" which is on (only)
the page at <http://www.zugerfechtclub.ch/>

Sorry, no.
| These terms only appear in links pointing to this page: manon emmenegger
http://www.google.com/search?q=cache...negger&strip=1

Compare with
http://www.google.com/search?q=cache...+Spass&strip=1
Okay, I know we're drifting away from the topic at hand, but I don't
know what I'm looking at here. How did you (know to) get these result
pages, with "only appear in links pointing to this page"?

And the next question: If those words "only appear in links pointing to
this page", where are those links? I'm wondering, because it's weird
that some page somewhere would point to this site's home page for this
girl, since she's not really included on it (and the circle of Swiss
fencing sites is pretty small). I was thinking Google had a keyword I
could use, like "link:", but that doesn't seem to do what I'm thinking
about.

--
John
Pondering the value of the UIP: http://improve-usenet.org/
Oct 13 '07 #17
In article <fe**********@jwgibbs.CChem.Berkeley.EDU>,
ne*******@jwgibbs.cchem.berkeley.edu (Pete) wrote:
[...] I haven't found a (text or otherwise) browser that
sees longdesc at all
iCab, Gecko (Mozilla, Firefox, Netscape, etc.) and Jaws (and presumably
other screen readers, like Window-Eyes) provide access to @longdesc.

iCab does so directly through the contextual menu's Image->Description
(which opens the @longdesc URL in a new window). In Gecko-based browsers
you need to, through the contextual menu, open the image's "Properties"
window, which lists the @longdesc URL as a "Description". In the current
Firefox the URL is just text, but I'm told that in Netscape 6 and 7 it
is a (clickable) hyperlink.

--
Sander Tekelenburg, <http://www.euronet.nl/%7Etekelenb/>
Oct 13 '07 #18
On Sat, 13 Oct 2007 02:59:58 +0200, John Hosking wrote:
I was thinking Google had a keyword I
could use, like "link:", but that doesn't seem to do what I'm thinking
about.
Add "site:example.com" as a search parameter.
--

Charles
Oct 14 '07 #19
In article <us************************@textnews.euro.net>,
Sander Tekelenburg <te******@euronet.nlwrote:
>In article <fe**********@jwgibbs.CChem.Berkeley.EDU>,
ne*******@jwgibbs.cchem.berkeley.edu (Pete) wrote:
>[...] I haven't found a (text or otherwise) browser that
sees longdesc at all

iCab, Gecko (Mozilla, Firefox, Netscape, etc.) and Jaws (and presumably
other screen readers, like Window-Eyes) provide access to @longdesc.

iCab does so directly through the contextual menu's Image->Description
(which opens the @longdesc URL in a new window).
That's not one I'm familiar with, but it soulds as if it does the 'right'
thing...
In Gecko-based browsers
you need to, through the contextual menu, open the image's "Properties"
window, which lists the @longdesc URL as a "Description". In the current
Firefox the URL is just text,
Mnyehh. No wonder I didn't notice it then! (:-/) And I don't think
simply showing the URL as text is what the originators of the attribute
were thinking of! Not what I'd call 'access' anyway.
but I'm told that in Netscape 6 and 7 it
is a (clickable) hyperlink.
....That's what I assume they *were* thinking of...

-- Pete --
--
================================================== ==========================
The address in the header is a Spam Bucket -- don't bother replying to it...
(If you do need to email, replace the account name with my true name.)
Oct 15 '07 #20
On Sat, 13 Oct 2007, John Hosking wrote:
>http://www.google.com/search?q=cache...negger&strip=1
http://www.google.com/search?q=cache...+Spass&strip=1

How did you (know to) get these result pages, with "only
appear in links pointing to this page"?
I start with Google's cache
http://www.google.com/search?q=cache...erfechtclub.ch
http://www.google.com/search?q=cache...lub.ch&strip=1
and then add some search terms.
And the next question: If those words "only appear in links pointing to
this page", where are those links?
Don't know. Google's search with "link:" has been broken for quite a long
time. You need to search with Yahoo if you want to find pages linking
to you.
Oct 17 '07 #21

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: David | last post by:
Hi, I'm trying to add a search facility to a page that looks for matches in one, other or both memo fields of a database. The code below works fine if the visitor types in one word, or the term...
5
by: George | last post by:
Hi, Anyone has the background for explaining? I have made a search on my name and I have got a link to another search engine. The link's title was the search phrase for the other search engine...
2
by: Zambo via SQLMonster.com | last post by:
Hi! We have Sql Server 2000 in our server (NT 4). Our database have now about +350.000 rows with information of images. Table have lot of columns including information about image name, keywords,...
67
by: Sandy.Pittendrigh | last post by:
Here's a question I don't know the answer to: I have a friend who makes very expensive, hand-made bamboo flyrods. He's widely recognized (in the fishing industry) as one of the 3-5 'best' rod...
83
by: D. Dante Lorenso | last post by:
Trying to use the 'search' in the docs section of PostgreSQL.org is extremely SLOW. Considering this is a website for a database and databases are supposed to be good for indexing content, I'd...
4
by: Miguel Dias Moura | last post by:
Hello, I launched a web site some time ago and i am having problems in making it visible in the search engines. I used a lot of Keywords, not only in text but also in links, page and image...
19
by: bb nicole | last post by:
Below is my search engine for job portal which jobseeker can find the job through quick search. But it cant work... Is it mysql query got problem?? Thanx.. Interface <html> <head> <title>UMS...
6
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, what determines how high a website's ranking will appear after being searched? what can i do to my website to give it a good chance of being ranked pretty high? thanks, rodchar
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.