|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Image Embed
Hello,
I am looking for help embeding a image into an HTML file... I would like to do it so that there is only one file, so that the image data is also included with the HTML file. I know there is a program like this for php but I can remember the name, and can not find it. Thanks for your help, Jeremy Ross |
|
#2
|
||||
|
||||
|
I'm not sure exactly what you mean - HTML files are just plain text markup.
|
|
#3
|
|||
|
|||
|
Hello,
What I am looking for is some JavaScript that will let me put the image data into it and allow me to display it on the page... I know this can be done using a php class that I found (now I have lost it), but I would like to know if there is a way with javascript. Thanks, Jeremy Ross |
|
#4
|
||||
|
||||
|
The only way to display on image on the page is by using the image tag (<img>) or by using CSS. PHP is a server side language and has nothing to do with displaying stuff on the client side. You MAY be thinking about binary data streaming, which is purely a server-side process.... it allows you to stream the binary data of a file from a location that is not in your web folder.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > Image Embed |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|