Solved

Inserting TEXT + GRAPHICS onto HTML PAGE

Posted on 1998-05-11
2
177 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
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…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

752 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