Embed image data in HTML

  • Thread starter Randy Charles Morin
  • Start date
R

Randy Charles Morin

I'm looking for suggestions on embedding image data in HTML documents.
The solution has to work in IE7, so data schemes won't work. I'm sure
more of the replies will mention it anyway, but please, I'm looking for
other solutions.
Thanks,

Randy Charles Morin
http://www.kbcafe.com/csharp/
 
J

Jukka K. Korpela

Randy Charles Morin said:
I'm looking for suggestions on embedding image data in HTML documents.

Don't do that.
The solution has to work in IE7, so data schemes won't work.

Well, they were a questionable idea from the beginning.
I'm looking for other solutions.

You should look for other problems. Clearly when you are in a dead end,
where you have described a problem that has no solution, you should
backtrack to the point where you formulated the problem.

What was the original problem that made you think you want to embed image
data in a data format for text?
 
D

dorayme

Jukka K. Korpela said:
You should look for other problems. Clearly when you are in a dead end,
where you have described a problem that has no solution, you should
backtrack to the point where you formulated the problem.

I could swear my shrink said this at some stage?
 
D

dorayme

Blinky the Shark said:
Why are you asking? You'd be the one in the best position to know.

I wasn't asking.

A common mistake, to be misled by "?"s. We need webcam newsgroups
where we can make er.. er... hand signals to each other...
 
B

Blinky the Shark

dorayme said:
I wasn't asking.

Your question mark says you were.
A common mistake, to be misled by "?"s. We need webcam newsgroups
where we can make er.. er... hand signals to each other...

No, we just need to have a clue about writing.
 
D

dorayme

Blinky the Shark said:
Your question mark says you were.


No, we just need to have a clue about writing.

Writing is not the only point here. There is a question about how
you read even less than perfect earthly ways of expression.

"...?" is not necessarily a normal question with a true or false
answer nor one that requires or seeks an answer, even a vague
one. Nor does the act of a person "asking" what might have
transpired in private between that person and another mean that
one or both of the is in the best position to judge.
 
B

Blinky the Shark

dorayme said:
Writing is not the only point here. There is a question about how
you read even less than perfect earthly ways of expression.

It was my point.
"...?" is not necessarily a normal question with a true or false
answer nor one that requires or seeks an answer, even a vague

That is true; some of them are rhetorical questions not normal
questions. Yours was a declarative statement with a misapplied question
mark.
one. Nor does the act of a person "asking" what might have
transpired in private between that person and another mean that
one or both of the is in the best position to judge.

Whaatever that means, it wasn't what you did.
 
D

dorayme

Blinky the Shark said:
It was my point.

You saying "we just need to have a clue about writing" is a funny
way to make this point.
...Yours was a declarative statement with a misapplied question
mark.

So you say. But it is not true. And it shows you don't understand
or really believe what I said and you claim to have meant. The
question mark had a function. It may not have the function that
you were taught at straight school but it had a meaning and a
point that you should have been able to understand and
appreciate: as a wondering by the writer, a question he or she is
asking him or herself about whether or not his or her shrink did
or did not say something of a certain kind...
Whaatever that means, it wasn't what you did.

If you do not understand this, you cannot know what I did because
context is important (as important as freedom - hi Luigi!) and
everything you say suggests you have too wooden a view. Context
is the life blood of everything. Wake up!

As for what it means, it is relevant to explain this to you as
you seem to take the opposite view "You should know" said you.
The point is simple enough. Sometimes a person can forget or have
good reason to forget things and is not in the best position to
know. Someone who has been informed of this earlier might be in a
better position to know.
 
B

Blinky the Shark

dorayme said:
You saying "we just need to have a clue about writing" is a funny
way to make this point.


So you say. But it is not true. And it shows you don't understand
or really believe what I said and you claim to have meant. The
question mark had a function.

The question mark was misused.

This is one of my pet peves of expression, like its cousin "up-talk", as
in: "We went to the zoo? We saw some animals? I really liked the
bears?"
 
J

Jonathan N. Little

<bickering snipped>

And in the corner, the be-antennaed interplanetary champion Martian
marvel, *dorayme*....and this corner the salty sultan of the briny deep
and advocate for better tooth care, *Blinky the Shark*! Are we ready to
rrrrummmmmmble!

To the OP, think of an HTML document is not like a Word document where
all sorts of media is all bundled up into one neat (but usually humongous
package) but more like a script to a play. Your images are actors and the
HTML document via links and the markup element directs where the images
(actors) stand on stage. That is all. If you want a completely integrated
unit like a Word document for online use, try PDF.
 
D

dorayme

Blinky the Shark said:
The question mark was misused.

This is one of my pet peves of expression, like its cousin "up-talk", as
in: "We went to the zoo? We saw some animals? I really liked the
bears?"

You are just stonewalling and hanging on to your fixed position.
It was not at all like these examples which shows you are just
not thinking about it. That is the trouble with pet peeves.
 
D

dorayme

Jonathan N. Little said:
<bickering snipped>

And in the corner, the be-antennaed interplanetary champion Martian
marvel, *dorayme*....and this corner the salty sultan of the briny deep
and advocate for better tooth care, *Blinky the Shark*! Are we ready to
rrrrummmmmmble!

To the OP, think of an HTML document is not like a Word document where
all sorts of media is all bundled up into one neat (but usually humongous
package) but more like a script to a play. Your images are actors and the
HTML document via links and the markup element directs where the images
(actors) stand on stage. That is all. If you want a completely integrated
unit like a Word document for online use, try PDF.

What was all this latter para about? What on earth has PDF and
HTML and Word got to do with our little thread here... o gosh...
yes... there was an original subject... now it is coming back to
me... Herr Korpela said something, I said something, Blinky said
something (really really really daft, then...o no... here we go
again...
 
D

dorayme

Luigi Donatello Asero said:
Do you like German or Swedish or Finnish or...?

Now Eliza... I mean Luigi...

A slight chill goes thru my bones when I hear German. Don't ask.
But, let me add, apart from those who beat you up, modern Germans
are very nice. Swedes gave us some great films and Finland is
where some historic chess was played so their languages are
particularly agreeable to my ears...
 
B

Blinky the Shark

dorayme said:
You are just stonewalling and hanging on to your fixed position.
It was not at all like these examples which shows you are just
not thinking about it. That is the trouble with pet peeves.

No, as usual I just didn't read your crap.

My not having read your crap does not make your inappropriate question
mark appropriate.
 
J

Jonathan N. Little

dorayme said:
What was all this latter para about? What on earth has PDF and
HTML and Word got to do with our little thread here... o gosh...
yes... there was an original subject... now it is coming back to
me... Herr Korpela said something, I said something, Blinky said
something (really really really daft, then...o no... here we go
again...

Ah yes! The OP, remember another one trying to embed image data into a
web page again... ;-) Just thought your needed to be knocked back on track!
 
D

dorayme

Blinky the Shark said:
No, as usual I just didn't read your crap.
No, of course, you just read bits of it and do exactly as I have
outlined, take things out of context.
My not having read your crap does not make your inappropriate question
mark appropriate.

And repeating an unargued fixed position that takes nothing but a
few old dusty school rules does not make you right.
 
Joined
Jan 14, 2010
Messages
1
Reaction score
0
You can embed an image with this syntax:

<IMG SRC="data:image/gif;base64,xxxxxx">

where xxxxxx is the base64 encoded gif image file. For encoding your gif file, you can use the online encoder at h t t p : / / w w w . m o t o b i t . c o m / u t i l / b a s e 6 4 - d e c o d e r - e n c o d e r . a s p
 

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,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top