[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]] ==== OECGI & "OpenInsight 32-bit Specific"}} Hi all I am using OI 7.10 and Apache 2.0.52 to migrate my app to HTML. I started with my log-in screen. I used the HTML publisher and it created an ugly, but functional screen. I then decided to improve the look by using DreamWeaver to add an image. It created the following HTML: [img]L4L-Logo.JPG[/img] I then saved it and test ran the modified page from DreamWeaver and it looks nice. However, when I go to my webpage http://127.0.0.1 and click the Log-in Link, it displays my improved log-in page, but the logo doesn't display. I am wondering if the problem relates to the path for the file, although I understand the ---- === At 04 JAN 2005 04:00AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote: === Robert What is your src attribute actually set to? We usually have an images directory off the web-server root which we reference in our OECGI pages like this: src=/images/somepic.jpg" This forces the browser to reference the image from the actual root of the target server rather than relative to the directory where the page was loaded from. [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] [i]World Leaders in all things RevSoft[/i] [img]http://www.sprezzatura.com/zz.gif[/img] ---- === At 05 JAN 2005 04:51PM Robert Lee wrote: === Hi Sprezz ]What is your src attribute actually set to? Um. What src attribute? Sorry, I'm new to this. I don't really mind at this stage where the image directory goes. I have tried putting the image everywhere I can think of, but it still refuses to display - including \OINSIGHT, \OINSIGHT\HTML, \Apache2\htdocs The login page is being linked like this: http://127.0.0.1/oi/oecgi.exe/INET_REPOS?DOC_ID=INET_L4L_LOGIN Don't know if that information helps. ---- === At 06 JAN 2005 04:02AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote: === Robert, Sorry, I meant the src attribute of the img tag... e.g. [img]/images/pic1.jpg[/img] OK, for testing purposes try creating an images directory beneath your web-server root folder. So if your web-server has a root folder like so: c:\website Create a folder called c:\website\images And copy your images to it (You can create images as a virtual folder if you like - doesn't have to be a 'physical' one.) The try calling your image directly from the browser... http://127.0.0.1/images/pic1.jpg If that works then alter the src attribute of the img on your login page like so: [img]/images/pic1.jpg[/img] You should then see your image. Note the use of "/" over "\". This is not so important when dealing with MS browsers and web-servers. It usually *is* important to others. [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] [i]World Leaders in all things RevSoft[/i] [img]http://www.sprezzatura.com/zz.gif[/img] ---- === At 07 JAN 2005 03:54AM Robert Lee wrote: === Thanks Sprezz I created an image folder in \Apache\Apache2\htdocs\mywebsite and the image was magically found. I guess with the HTML coming from the /OInsight/html folder, it seemed to make sense the jpg file would come from the same place. I must need a holiday. How's London this time of year . R ---- === At 07 JAN 2005 06:14AM support@sprezzatura.com wrote: === Cold and beautiful! And the view from our office windows is cool - checkout the last SENL :) support@sprezzatura.com The Sprezzatura Group Web Site [i]World Leaders in all things RevSoft[/i] [img]http://www.sprezzatura.com/zz.gif[/img] [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=2B76A883D414B49485256F7F000B3CE6|View this thread on the forum...]]