More fun with ISPF web server
For the images I simply uploaded them as binary. I created three separate image libraries to hold the images, one each of JPG, PNG and GIFs so that you can tell which is which and also so that you could have duplicate names, provided the file type is different.
I have the web server TCP/IP sessions set to automatically translate between ASCII and EBCDIC so for the images I just send the response in two parts. I send the HTTP header response with the translation on then turned it off and send the image binary.
Here’s a screen shot of the app using the UI tabs function and some embedded images: