[[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]] ==== Placing BMP files or images in Web forms. (OpenInsight Specific) ==== === At 25 OCT 2000 09:07:04AM Steve Carlson wrote: === {{tag>"OpenInsight Specific"}} I placed a bitmap image in a form in OI, saved it and "published" the form to HTML. the bitmap file is in the same directory as the HTML form file. When I try to load the form in my browser it "hangs" then "time outs". Is there a problem or a trick in adding images to OI/WEB forms??? TIA Steve Carlson ---- === At 25 OCT 2000 09:47AM WinWin/Revelation Technical Support wrote: === Steve- Can you post the code it generated? Thanks- Mike Ruane ---- === At 25 OCT 2000 10:02AM Steve Carlson wrote: === Mike.. here it is. ST_ODBCW "ST_TRAINEE_ODBC_WEB" [img]sealshd.bmp[/img] Employee : ---- === At 25 OCT 2000 11:36AM Oystein Reigem wrote: === Steve, [img]sealshd.bmp[/img] Perhaps not all browsers can do bmp. (My IE5 does, though.) But they shouldn't hang. But I wonder about that image height of yours. Image dimensions are in pixels so must be integers. Perhaps your browser doesn't like that. (Again my IE5 does fine, though.) Btw - any reason you specify image size at all? Well, you're not the only one. I see everybody do it. Why not let the image take the space it needs? If the specified dimensions are different from the image file's the browser is forced to scale the image, reducing the quality. - Oystein - ---- === At 25 OCT 2000 12:00PM Steve Carlson wrote: === Oystein, I didn't set the size myself... the entire HTML that I posted was "PUBLISHED" by OI from the Form Designer. SteveC. ---- === At 25 OCT 2000 12:03PM matt sorrell wrote: === [i]Btw - any reason you specify image size at all? [/i] Generally, by specifying the image size, a page will load faster. This is more noticeable on pages that are graphics intensive. If no size is specified, the browser must determine how much space to allocate. If the size is specified, then the browser automatically allocates that space, and moves on with parsing the rest of the HTML code. According to the standard, it is recommended that image sizes be specified. msorrel@greyhound.com ---- === At 25 OCT 2000 12:05PM WinWin/Revelation Technical Support wrote: === Steve- This is more HTML than OI, but... Where does the 'sealshd.bmp' file live on your web server? Unless it is in the default location for images and documents, you must specify where it lives- eg '/img/Logo.gif' Either move the graphic or modify the HTML. Mike ---- === At 25 OCT 2000 12:36PM Oystein Reigem wrote: === Matt, So that's why the whole world disagreed with me. :-) Thanks. - Oystein - [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=F0731912835CB5488525698300480F23|View this thread on the forum...]]