Subject: | Re: I thought I was finished
| Date: | Thu, 1 Dec 2016 16:20:40 -0500
| From: | Jim Moseley <jim@mapson.triptracker.com>
| Newsgroups: | pnews.paradox-web
|
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.
>
>
>
>
|