Page 1 of 1

inline images

Posted: Thu Jan 05, 2006 6:04 pm
by timvw
I saw the following piece of code while i was reading my blogmarks: Imaging In Line. :))

Posted: Thu Jan 05, 2006 6:54 pm
by Chris Corbyn
Hmmm... I've used this *very* recently in javascript. You bury the image source data right into the javascript and evaluate it inline.

The beauty of it? Why bother? I'll tell ya all.... give someone a piece of code that uses images and you can have it all in the same file without requiring specifically named images .... bad-a-bing ;)

Useful for making greasemonkey scripts :D

Re: inline images

Posted: Thu Jan 05, 2006 7:50 pm
by evilmonkey
timvw wrote:I saw the following piece of code while i was reading my blogmarks: Imaging In Line. :))
Good. God. :? But then again, there are people who store exe's as text in MySQL databases, that's perhaps even scarier...