Solved

Inserting TEXT + GRAPHICS onto HTML PAGE

Posted on 1998-05-11
2
181 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

AWS Certified Solutions Architect - Associate

This course has been developed to provide you with the requisite knowledge to not only pass the AWS CSA certification exam but also gain the hands-on experience required to become a qualified AWS Solutions architect working in a real-world environment.

Question has a verified solution.

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

This article will show, step by step, how to integrate R code into a R Sweave document
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

623 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