elfv
elfv

Reputation: 1

adding Image to page without using source

i need add an image to HTML page then I need to send this page via fax. i can not use the attribute "src" Any ideas how can I do it? Maybe convert the image to byte array and then insert it to the html page?

Upvotes: 0

Views: 226

Answers (2)

Aaron Digulla
Aaron Digulla

Reputation: 328840

You can try to use a "data URI".

[EDIT] If you can't use the src attribute, then you're doomed. There are other ways to add an image to a HTML page like using a div with background-image but that image won't make it to the printer (and hence not onto a fax).

Upvotes: 1

David
David

Reputation: 219096

Why can you not use the src attribute? Does the fax software somehow internally render the HTML without images and thus ignore it? If that or something similar is the case then you're better off trying to work around it than to try to trick it with some strange byte manipulation.

Can the fax software accept the entire page as one big image? You can add the image to the HTML as you would any other image in a web page, then use something like FireShot for Firefox to capture the entire rendered page into a single image (or split up by pages, etc.) and fax that.

Upvotes: 0

Related Questions