× 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.



Presumably if that was an option he wouldn't be streaming it to the browser in the first place?

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Àlex Corretgé
Sent: 26 August 2011 21:14
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] How to use "Content-type: multipart..." with CGI

Sorry, but why need to send the TIFF image by URI:data scheme?

If you put the TIFF's absolute path in <param name="src"
value="/ablosute/path/tiffdocument.tif"> this must run fine.

PS: I learned a lot too from Scott Klements :)


Atentament / Kind Regards

Àlex Corretgé


Carrer Major, 6
17142 - Verges
Tel: +34 972 780 422
Cell: +34 669 86 92 64

Serveis Informàtics Corretgé.com

- http://corretge.cat/
- skype: corretge_com
- LinkedIn: http://www.linkedin.com/in/corretge
- News: http://bloc.corretge.cat




2011/8/26 Joe Wells <jwells@xxxxxxxxx>

Thank you for all of the responses.

My first task was to learn about Base64. I learned a lot from Scott
Klements (thank you!) article
http://systeminetwork.com/article/base64-built-ibm-i .

Since then I have tried several things. As previously mentioned, we use
AlternaTIFF to view our tiff images. Their documentation suggests a number
of methods to embed TIFF documents with HTML. At the moment, the most
promising seems to be the OBJECT tag. Their example looks like this -

<object width=200 height=200
classid="CLSID:106E49CF-797A-11D2-81A2-00E02C015623">
<param name="src" value="tiffdocument.tif">
<param name="negative" value="yes">
</object>

Note: the value for CLASSID forces the browser to use the AlternaTIFF
viewer.

I then searched how to use Base64 with the OBJECT tag and came up with this
-

<object id="test" width=100% height=75%
classid="CLSID:106E49CF-797A-11D2-81A2-00E02C015623"
data="data:application/x-oleobject;base64, .......Base64 data..........
">test2</object>

My problem is thast I am not sure that the encoding is properly working. I
searched for sites that would test Base64 data as well as sample Base64 data
- but I had no luck.

Any thoughts, comments, or suggestions?

Thanks,

Joe

p.s. This application is for internal use only with IE.



From: Joe Wells
Sent: Thursday, August 25, 2011 11:38 AM
To: 'web400@xxxxxxxxxxxx'
Subject: How to use "Content-type: multipart..." with CGI

A little back ground -

1) We use CGI (similar to, but not CGIDEV) for our web based applications
2) We have written a web based viewer for our imaging repository,
3) We use Alternatiff to display the tiff images from our web based viewer.
These images open in a separate window and are streamed to the browser with
a mime type of "Content-Type: image/tiff". This works very well.

Now the question -

I would like to display some other HTML above the image. Thoughts on how
this could be done? I have experimented with "Content-type: multipart....",
but have not had any luck.

Thanks in advance for any suggestions.

Joe

--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


NOTICE: The information in this electronic mail transmission is intended by CoralTree Systems Ltd for the use of the named individuals or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected.



--------------------------------------------------------------------------------


CoralTree Systems Limited
25 Barnes Wallis Road
Segensworth East, Fareham
PO15 5TT

Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton, UK
SO15 2EA
VAT Registration Number 834 1020 74.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.