Solved

Inserting TEXT + GRAPHICS onto HTML PAGE

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Introduction This tutorial will give you a fast look what you can do with WhizBase. I expect you already know how to work with HTML at least, and that you understand the basics of the internet and how the internet works. WhizBase is a server-s…
This article will show, step by step, how to integrate R code into a R Sweave document
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
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…

707 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

14 Experts available now in Live!

Get 1:1 Help Now