Creating Images On The Fly

K

K

Does anyone know of any scripts (I am developing in VB ASP, but Javascript
or Perl is fine too) that will allow me to create image on-the-fly on a site
I am creating.

I have certain text in the site which I would prefer to be images (to
prevent search engines etc. indexing it). It is simple 5 or 6 word text but
the font size may vary.

Something I can pass the text to and be given an image of the text on my
page instead of the raw text would be great.

Thanks
 
L

Leif K-Brooks

K said:
I have certain text in the site which I would prefer to be images (to
prevent search engines etc. indexing it). It is simple 5 or 6 word text but
the font size may vary.

And to prevent people with vision problems from reading them. And people
using text browsers. And people with images disabled.

Why would you want to do that?
 
K

K

Leif K-Brooks said:
And to prevent people with vision problems from reading them. And people
using text browsers. And people with images disabled.

Why would you want to do that?

The site is very specific to a particular group of users and I am willing to
take the risk (although I don't see this as an issue personally).
 
L

Leif K-Brooks

K said:
The site is very specific to a particular group of users and I am willing to
take the risk (although I don't see this as an issue personally).

And all of your users have perfect eyesight, meaning that they will
never need to adjust their font size?

Even if there is no specific reason *not to* do what you want, what is
your reason for wanting *to* do so? What's the point of making things
harder to read, even if it doesn't happpen to affect you negatively?
 
K

K

I have certain text in the site which I would prefer to be images (to
And all of your users have perfect eyesight, meaning that they will never
need to adjust their font size?

Even if there is no specific reason *not to* do what you want, what is
your reason for wanting *to* do so? What's the point of making things
harder to read, even if it doesn't happpen to affect you negatively?

Thank you for your comments but I don't see the point of debating the
ins-and-outs of whether people will be able to read the images or not.

The main reason is to stop search engines indexing some very specific
content. Not being able to read these (very few) instances of this on the
site wouldn not detract from the overall site experience for any visitor.

If you are able to offer any advice on what I actually asked then I look
forward to reading it.
 
R

rf

K said:
Thank you for your comments but I don't see the point of debating the
ins-and-outs of whether people will be able to read the images or not.

I think it worthwhile.
The main reason is to stop search engines indexing some very specific
content. Not being able to read these (very few) instances of this on the
site wouldn not detract from the overall site experience for any visitor.

If you are able to offer any advice on what I actually asked then I look
forward to reading it.

<img src="A.gif">
<img src="space.gif">
<img src="g.gif">
<img src="i.gif">
<img src="f.gif">
<img src="space.gif">
<img src="f.gif">
<img src="o.gif">
<img src="r.gif">
<img src="space.gif">
<img src="e.gif">
<img src="a.gif">
<img src="c.gif">
<img src="h.gif">
<img src="space.gif">
<img src="l.gif">
<img src="e.gif">
<img src="t.gif">
<img src="t.gif">
<img src="e.gif">
<img src="r.gif">
<img src="question.gif">
 
J

JDS

Does anyone know of any scripts (I am developing in VB ASP, but Javascript
or Perl is fine too) that will allow me to create image on-the-fly on a site
I am creating.

I have certain text in the site which I would prefer to be images (to
prevent search engines etc. indexing it). It is simple 5 or 6 word text but
the font size may vary.

Something I can pass the text to and be given an image of the text on my
page instead of the raw text would be great.

Thanks

Try my text banner script

<http://newtnotes.com/index.php?itemid=105&catid=4>
 
J

JDS

Thank you

If only I used PHP :-(

Well, JavaScript can't do what you want, AFAIK.

Perl will be able to do what you want, but you will need to have a variety
of image manipulation modules installed OR have some command-line image
manipulation packages installed on your server like

ImageMagick
or
NetPBM

later...
 
K

K

JDS said:
Well, JavaScript can't do what you want, AFAIK.

Perl will be able to do what you want, but you will need to have a variety
of image manipulation modules installed OR have some command-line image
manipulation packages installed on your server like

ImageMagick
or
NetPBM

later...

Thanks

I am going to investigate calling PHP into my HTML pages I think tonight to
see if I can use your script
 
K

K

JDS said:
Well, JavaScript can't do what you want, AFAIK.

Perl will be able to do what you want, but you will need to have a variety
of image manipulation modules installed OR have some command-line image
manipulation packages installed on your server like

ImageMagick
or
NetPBM

later...

Help please.

I tried your script out but all it creates is blank white images. Have I
done something wrong? I have tried changing the settings for fore and back
colour and still no change.
 
D

Dominic Myers

K said:
Thanks

I am going to investigate calling PHP into my
HTML pages I think tonight to see if I can use
your script

This is a fantastic script! Well done!
Cheers, Dom
 
S

Si

K said:
Does anyone know of any scripts (I am developing in VB ASP, but Javascript
or Perl is fine too) that will allow me to create image on-the-fly on a site
I am creating.
....

Something I can pass the text to and be given an image of the text on my
page instead of the raw text would be great.

If you have it installed with your host server, ASPJpeg does what you
require
http://www.aspjpeg.com

Si
 
J

JDS

Of course it can: it's Turing-complete. You just need to hook it up to a
Web server.

So you are saying server-side JavaScript?

And Turing-complete? So can JavaScript wash my car? That's a problem that
needs solving.
 
G

Guest

I have certain text in the site which I would prefer to be images (to
prevent search engines etc. indexing it). It is simple 5 or 6 word text
but the font size may vary.

The only things worth protecting are private information (such as SSN, but
why display that?) and email addresses (don't want spam bots harvesting
them, do you?).

I fixed the email problem with a php script which takes as an argument the
username of the person you want to email. I also have a script which
generates an image of that address. That image is wrapped with a link to
the mailer script. The alt is set to "Email John Smith" where "John
Smith" is replaced by the user's name. There is another button to
increase the font size used in the email images.

I'm sure you could come up with such a system in your server script
language of choice.

HTH,
La'ie Techie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top