Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Images

Reply
Thread Tools

Images

 
 
Jonathan N. Little
Guest
Posts: n/a
 
      07-20-2005
freesoft_2000 wrote:

> Hi everyone,
>
> i noticed that there is a tag called [embed] in html.
>
> Can i use this tag to actually embed the image directly into
> the html document
> like what people do with sound and video??
>
> If i can how can i go about doing it??
>
> Sample codes would be helpfull
>
> Any help is greatly appreciated
>
> Thank You
>
> Yours Sincerely
>
> Richard West
>

1: EMBED is not part of the 4.01 HTML standard but an old Netscape
element, OBJECT is the correct element

2: Again, if you look at the attributes, EMBED's SRC or OBJECT's DATA,
it is a URI to the resource *external* to the HTML document. Again, HTML
is just a plain text 'script', there is no embedded binary data.

3: If you want to have a single file document, HTML is *not* the right
choice, PDF, PowerPoint, Word DOC and such is what you want. Wrong tool
there Richard.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
 
 
 
Animesh Kumar
Guest
Posts: n/a
 
      07-20-2005
freesoft_2000 wrote:

> Hi everyone,
>
> I am trying to add pictures and so far everthing has
> been going well but i have a question. When i insert the pictures they
> show up and i am able to save the entire html document to disk in html
> format.
>
> The thing is when i delete the picture on the disk and
> open the html document the picture does not show up but if the picture is
> not deleted from the disk then when i open the html document the picture
> shows up.
>
> Basically what i need to know if there is a way in
> which i can embed a picture into the html document without any reliance on
> the picture that is saved on a different location on the disk.
>
> Basically my question is that is it possible to
> implement something like that in which that the picture is embedded in the
> html and it does not matter if the picture is deleted or not from the disk
> thus even when the html document is opened the embedded picture is still
> there.
>
> This is code that i am using to insert the picture
>
> <html>
> <head>
> </head>
> <body>
> <p>
> <img height="400" width="400" src="file:/D:/Sample_Pics/venu.jpg">
> </p>
> </body>
> </html>
>
> See the reliance on the picture picture always being on that location on
> the disk on this line
>
> src="file:/D:/Sample_Pics/venu.jpg"
>
> Is there a way to achieve what i need by simple ways or style sheets or
> any other way??
>
> Any help is greatly appreciated
>
> Thank You
>
> Yours Sincerely
>
> Richard West
>



HTML using images from local directory has been very well explained so
far. However, you can go for SVG or scalable-vector-graphics in certain
cases to enjoy "dynamic resizing" and "embedded code" facility. But
then, if you think in terms of CSS, background and all such imagery will
be lost if you don't use external images.

Best
A
 
Reply With Quote
 
 
 
 
dorayme
Guest
Posts: n/a
 
      07-21-2005
> From: "Jonathan N. Little" <>
>dorayme wrote:
><snip>
>
>> But I sense that you are wanting to have a file that is the web page
>> itself somehow, in it's full expression. When you double click this one
>> file with no pic files or any others needed, it opens in a browser in
>> its full glory.
>>
>> This is pretty much what happens when you save a web page in *some*
>> browsers. The browsers that have this capability ask you whether you
>> want to save the HTML itself or as a "web archive". Different browsers
>> do it different. For example, my IE 5 for a Mac asks this and has its
>> secret formula for doing it. You get a file that embeds all, there are
>> no associated files, no distinguishable pic files, html text files, css
>> files. It is all in a top secret proprietary coca cola formulae. It is
>> quite neat. The advantages are not great though, more a curiosity (there
>> are some pros and some cons).

>
>
> If you are looking for the single file option, MSIE saves in a
> single-file archive format MHT. It is a MS format so compatibility is an
> issue. Mozilla has it own single-file archive format MAF. Installing the
> extension does also allow reading of the MHT format, but this may not be
> an answer for all browsers.
>
> Maybe an HTML document is not what you want, but something more like an
> Adobe Acrobat PDF, or since this is to be on disk abandon the web page
> concept entirely and do a PowerPoint presentation!



I guess we are all trying to imagine what the OP really wants and why! Not
quite sure he has helped too much - but I may have missed his explanations?

dorayme

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't view images on Google Images timopp@gmail.com Computer Support 5 12-30-2005 01:45 AM
DataList with RadioButtons + Images: How to click on the images to activate the radiobutton? Luis Esteban Valencia Muņoz ASP .Net 0 06-03-2005 03:22 PM
Track Images added to images folder and subfolders - send out email alerts ASP .Net 4 01-04-2005 10:01 PM
Tool for converting 12-bit TIFF images to 16-bit TIFF-images? Peter Frank Digital Photography 11 12-13-2004 02:41 AM
Can recover old images from SmartMedia card, but not recent images Stephen Stormont Digital Photography 9 10-20-2003 07:59 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57