Subject: | Re: I thought I was finished
| Date: | Thu, 1 Dec 2016 15:40:58 -0700
| From: | JI <products@consoftolnline.com>
| Newsgroups: | pnews.paradox-web
|
Jim,
The landing page, index.HTML, is in a folder named C:\AAA-job cost
tools. Index.htm contains a Login button which, when pressed, goes
through a Paradox verification script and generates a Paradox-built main
menu. That is not an html file that resides on disk. It's created on the
fly.
The jobcosttools.png image is the one I want on the main menu. That .png
image is everywhere on the server.
In the root (C:\),
In the C:\AAA-job cost tools folder)
In the working directory (:WORK:)
The snippet I posted was a test using the sample-created code to try to
locate the PNG file.
I even created an Images submenu for the file with jobcosttools.png in it.
I tried it with this statement as you suggested.
<IMG Alt="JCT" src="http://jct.consoftonline.com/images/jobcosttools.png">
It just displays the JCT
This issue is no different than the one I posted 3 years ago and had no
success with implementing images in spite of everyone's best advice.
On 12/1/16 2:20 PM, Jim Moseley wrote:
> JI,
>
> Think of this from your user's perspective. They don't have a
> jobcosttools.png file on their computer. You need to fully qualify the
> name, pointing it to some location that is available over the web.
>
> Note that this could be your own webserver. For example, if your home
> webpage is http://mysite.com/index.htm
>
> You could store your png file in a subfolder called 'images' off your
> :WORK: folder. You would then have this as your <img src:
>
> src="http://mysite.com/images/jobcosttools.png"
>
> HTH,
> Jim Moseley
>
>
On 12/1/16 2:20 PM, Jim Moseley wrote:
> JI,
>
> Think of this from your user's perspective. They don't have a
> jobcosttools.png file on their computer. You need to fully qualify the
> name, pointing it to some location that is available over the web.
>
> Note that this could be your own webserver. For example, if your home
> webpage is http://mysite.com/index.htm
>
> You could store your png file in a subfolder called 'images' off your
> :WORK: folder. You would then have this as your <img src:
>
> src="http://mysite.com/images/jobcosttools.png"
>
> HTH,
> Jim Moseley
>
> On 12/1/2016 3:21 PM, JI wrote:
>> In a Paradox table, I have this code which generates a Corel Web Server
>> webpage.
>>
>> <!DOCTYPE html >
>>
>> <HEAD>
>> <meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
>>
>> </HEAD>
>>
>> <body>
>>
>>
form tag removed
<!--- form action=AddGlAccount method=post>
>>
>> <img alt="JCT" src="../jobcosttools.png" height='300' width='240'>
>>
>> </form>
<!--- --->
>> </body>
>> </html>
>>
>>
>> Whatever I assign as the source of the image doesn't work.
>> The working directory is assigned as C:\CSO-JCT\theserver. That is also
>> the base path in the Web Server's properties section.
>>
>> The image 'jobcosttools.png' is in the working directory.
>>
>> I've tried...
>>
>> src="/jobcosttools.png"
>>
>> src="..jobcosttools.png"
>>
>> src="\jobcosttools.png"
>>
>> src="../jobcosttools.png"
>>
>> src="..\jobcosttools.png"
>>
>> No luck. I only display "JCT", the alt name, and no image.
>>
>> Help if you can.
>>
>>
>>
>>
>
|