Solved

Inserting TEXT + GRAPHICS onto HTML PAGE

Posted on 1998-05-11
2
166 Views
Last Modified: 2013-12-25
I want to insert a graphical image with its respective TEXT description onto my HTML webpage from my CGI script. Normally if I were to insert the graphical image, I would call my CGI script with the <IMG> tag. Since I need to insert the respectiove text description with the graphics the <IMG> tag is useless now. Presently, to access my special HTML page it calls NPH-T.CGI script.  This script will open the special HTML page and lterally insert the GRAPHICAL IMAGE + TEXT. Its output will reveal the proper HTML page.

Is there perhaps a more effiecent way of doing this?   Perhaps I should use SSI?

Any help would be greatly appreciated!
0
Comment
Question by:mirror
2 Comments
 
LVL 2

Accepted Solution

by:
WileyKat earned 50 total points
ID: 1828416
SSI is your answer. Have your HTML page use an SSI such as <!--#exec cgi="insert.cgi"--> then have the CGI return a multipart/mixed MIME type to the browser, sending first the image as one part (image/gif or image/jpeg), then the text as the other (text/html or text/plain).
0
 

Author Comment

by:mirror
ID: 1828417
Thanks a million!
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now