× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Patrik,

Yes, data-uris for images have been viable since about 2010. (2006 for Firefox, 2009 for IE, 2010 for Chrome)

However, I thought your main thrust in this thread was to discuss what you might do before the IFS was added to the IBM i (which was around 1994.)   So I'm not sure that data uris make sense, here...  sure you can use them to avoid the IFS now, but not historically...

Honestly, I don't think too many people ever served a web site on IBM i back then.   The TCP/IP that the OS had prior to V3R1 was very rudamentary... and IBM didn't provide an HTTP server, so you would've had to write your own (or buy a 3rd-party one, perhaps.)

I suspect that pretty much anyone who did that would've used DLO for image files.

Technically, you could use a BLOB instead (as Raul demonstrated, though, again, his code was much more modern than 1994). Likewise, you could ue something like a USRSPC to store image data in a library...  but it would've been awkward to administer, because in order to add/replace pictures on your site, you'd need someone with the technical know-how to convert those pictures into user spaces, et al.

Frankly, though...  I didn't know anyone doing that sort of thing back then, it just wasn't a common need!  People hosting HTTP servers weren't as commonplace, the TCP/IP support was limited, support for things like stream files was somewhat limited, etc. It just didn't happen.


On 8/18/23 11:05 AM, Patrik Schindler wrote:
No worries! Meanwhile I found that you can indeed imbed images into a HTML page:
<img src="data:image/jpeg;base64,put-raw-base64-data-here">

All halfway recent browsers know this extension. Notable exception… tadaa! Some older releases of IE.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.