 |
22-12-2006, 03:32 PM
|
#1 (permalink)
|
|
Šupər♂ - 超人
Join Date: Oct 2004
Location: Look up... up in da sky... see me yet? Nah... Use a telescope, dumbo!
Posts: 1,626
|
Files in urls!!!
This maybe geek & latin to a layman… so anyone who doesn’t understand @least some html, please don’t stress ur brain in this.
A recent travel thru the LifeHacker brought me to a method to incorporate a file into a link. Using this method, we can convert and encode a binary file into a web-link which can be understood and displayed correctly by a browser. This is done using a URI called data: used in this way data:image/jpeg;base64,base_64_encodedfilecomeshere
Uses? Lots actually… for a beginning, u don’t need to upload ur pics to any other site, u can directly add them to the url(or in this matter uri) as text data! Which means data storage within a web page or blog entry! Post images or files to forums that allow url posting, sneak attachments past grumpy email filters…
A sample of my previous avatar
Original source here
Make sample data uri's here
__________________
Windows ka tashan... koolbluez ishtyle - http://lin.cr/ss
I almost forgot this - http://www.thinkdigit.com/forum/showthread.php?t=6242
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
22-12-2006, 03:41 PM
|
#2 (permalink)
|
|
Google Bot
Join Date: Aug 2005
Posts: 9,772
|
Re: Files in urls!!!
awsome stuff man....
|
|
|
22-12-2006, 05:46 PM
|
#3 (permalink)
|
|
Human Spambot
Join Date: Nov 2004
Location: Madurai
Posts: 2,349
|
Re: Files in urls!!!
@koolbluez, was that a pun or a spelling mistake?
"geek and latin to a layman" should have been "gReek and latin to a layman"
Arun
|
|
|
22-12-2006, 07:05 PM
|
#4 (permalink)
|
|
In Pursuit of "Happyness"
Join Date: May 2005
Location: New Delhi
Posts: 3,432
|
Re: Files in urls!!!
Nice info!
|
|
|
22-12-2006, 07:36 PM
|
#5 (permalink)
|
|
powerd ↻ pramod
Join Date: Sep 2006
Location: mumbai
Posts: 100
|
Re: Files in urls!!!
had to rack my brain to understand it !!
especially after my gray matter was thoroughly sozzled
__________
repping this thread
__________________
digit member #17000
Last edited by GeeNeeYes; 22-12-2006 at 07:36 PM.
Reason: Automerged Doublepost
|
|
|
22-12-2006, 09:04 PM
|
#6 (permalink)
|
|
Šupər♂ - 超人
Join Date: Oct 2004
Location: Look up... up in da sky... see me yet? Nah... Use a telescope, dumbo!
Posts: 1,626
|
Re: Files in urls!!!
 pun of course, dear sakumar79!!!
And did u get it now ,GeeNeeYes?!?!?
Little tough to comprehend the first time, but examples'll show u the truth
__________________
Windows ka tashan... koolbluez ishtyle - http://lin.cr/ss
I almost forgot this - http://www.thinkdigit.com/forum/showthread.php?t=6242
|
|
|
22-12-2006, 10:55 PM
|
#7 (permalink)
|
|
The Devil's Advocate
Join Date: Mar 2006
Location: Masti Ki Paathshaala
Posts: 7,019
|
Re: Files in urls!!!
interesting stuff ... thanx .... but i think this belongs to tuts section ....
__________________
"The problem that shows up with the three red lights on the console is a complex interaction with some very complex parts.” - Robbie Bach
http://beingmanan.com
twitter: manan | Last.FM: manan
|
|
|
23-12-2006, 01:19 AM
|
#8 (permalink)
|
|
El mooooo
Join Date: Jan 2006
Location: India
Posts: 1,414
|
Re: Files in urls!!!
Neat stuff...reps and rating added
|
|
|
23-12-2006, 08:55 AM
|
#9 (permalink)
|
|
Šupər♂ - 超人
Join Date: Oct 2004
Location: Look up... up in da sky... see me yet? Nah... Use a telescope, dumbo!
Posts: 1,626
|
Re: Files in urls!!!
Tnx guyz for the rep...
Another use I got of the method
Check out the answer of the question itself coded into the page, instead of me uploading a different file online as solution.
I love this hack, maan....
__________________
Windows ka tashan... koolbluez ishtyle - http://lin.cr/ss
I almost forgot this - http://www.thinkdigit.com/forum/showthread.php?t=6242
|
|
|
28-05-2007, 10:04 PM
|
#10 (permalink)
|
|
Pawned!... Beyond GODLIKE
Join Date: May 2006
Location: World Of Warcraft -DOTA
Posts: 1,051
|
Re: Files in urls!!!
oh my goodness. awsome technology
__________________
If God has indeed created Himself in His own image, then I submit to you that God is a cockroach :mrgreen:!!!!!!!!
|
|
|
28-05-2007, 10:09 PM
|
#11 (permalink)
|
|
Host4Cheap.org
Join Date: May 2005
Location: Digit Forum
Posts: 2,102
|
Re: Files in urls!!!
WOW! :O Awesome
__________________
★ Want to start your Website, No worries - here is how ★
http://www.thinkdigit.com/forum/showthread.php?t=66717
★ Host4Cheap - cPanel Webhosting & Reseller Plans ★
http://www.host4cheap.org/
|
|
|
28-05-2007, 10:26 PM
|
#12 (permalink)
|
|
The No.1 Stupid
Join Date: May 2005
Location: CYBERYARD
Posts: 1,708
|
Re: Files in urls!!!
I was about to say that its old stuff then I noticed the dates.
LOL.
__________________
n00b forever...
|
|
|
28-05-2007, 11:32 PM
|
#13 (permalink)
|
|
C# Be Sharp !
Join Date: Jun 2006
Location: Toronto
Posts: 1,805
|
Re: Files in urls!!!
Superb , very interesting
__________________
There are 10 types of people in the world: those who understand binary and those who do not.
|
|
|
30-05-2007, 02:18 PM
|
#14 (permalink)
|
|
Wise Old Owl
Join Date: Sep 2005
Location: never land
Posts: 1,284
|
Re: Files in urls!!!
superb kool
|
|
|
30-05-2007, 02:25 PM
|
#15 (permalink)
|
|
"Technologic"
Join Date: Apr 2005
Location: 3rd rock from the sun.
Posts: 422
|
Re: Files in urls!!!
Top notch stuff! Appreciate it, koolbluez!
__________________
 One great use of words is to hide our thoughts.
------------
|
|
|
30-05-2007, 04:36 PM
|
#16 (permalink)
|
|
Šupər♂ - 超人
Join Date: Oct 2004
Location: Look up... up in da sky... see me yet? Nah... Use a telescope, dumbo!
Posts: 1,626
|
Re: Files in urls!!!
tnx 4 reviving the stuff
__________________
Windows ka tashan... koolbluez ishtyle - http://lin.cr/ss
I almost forgot this - http://www.thinkdigit.com/forum/showthread.php?t=6242
|
|
|
31-05-2007, 06:52 PM
|
#17 (permalink)
|
|
Mad and Furious
Join Date: May 2006
Location: Visual Basic 6.0
Posts: 453
|
Re: Files in urls!!!
Hey thats great
Thanks for the information!!!
|
|
|
02-06-2007, 11:30 AM
|
#18 (permalink)
|
|
Cool as a CUCUMBAR ! ! !
Join Date: Dec 2003
Posts: 5,052
|
Re: Files in urls!!!
simply great ...........
|
|
|
02-06-2007, 05:56 PM
|
#19 (permalink)
|
|
HELP AND SUPPORT
Join Date: Jun 2006
Posts: 1,603
|
Re: Files in urls!!!
Very kewl and Interesting I must say
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|