|
Posted by John Dunlop on 09/09/05 13:45
Robert wrote:
> data:image/jpg;base64,".base64_encode($rowfoto['fotka'])
The registered MIME type is image/jpeg, not image/jpg, but apart from
that the URL conforms to RFC2397.
I'm afraid I can't comment on Internet Explorer, but browsers in
general are not under an obligation to support the 'data:' URL scheme.
What length is the data? According to RFC2397 'data:' URLs are only
useful for short values, although the permitted number of characters
in HTML4.01 attribute values is 65 536 - considerably larger than it
was when that RFC came out (1 024). Not that I'd expect browsers to
enforce these limits.
--
Jock
Navigation:
[Reply to this message]
|