Windows Support Chat

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Tuesday, 21 April 2009

Image served out by Domino not visible in browser – Help needed!

Posted on 00:41 by Unknown

I’ve been working on some enhancement to SDMS (a freeware “simple document management system” with built-in NotesTracker), and have encountered a Domino web design issue that I haven’t been able to nut out.

So I’m now calling for assistance from all you Domino web design wizards out there whom I know do far more IBM Lotus Domino web design than myself and who have in-depth knowledge/experience with how Domino serves out Rich Text images to the web. None of the many blog posts and forum discussions that I’ve scoured seem to be tackling quite the same browser image-handling issue that I’ll describe below.

I’ve done a fair bit of research on the matter, but haven’t quite crack this one. Perhaps I’ve overlooked some basic Domino web design point – which would be far from first time for me -- but I suspect it might be one of those quirks of the Domino web server that irritate us.

My aim was to add four new user-editable fields to the SDMS Profile document so that, in both Notes Client and Web Browser environments. they would appear at the top of each SDMS window alongside the previous three plain text heading lines.

The four fields are labeled A, B, C and D in the following two images (Notes Client on the left, web browser on the right, click an image to enlarge it):

SDMS_V4.5_new_heading_fields … SDMS_V4.5_new_heading_fields_Browser

Fields B, C and D are plain text fields that display without problem in both environments. Change them in the SDMS Profile document and the changed value displays in the Notes Client or browser.

The problem that I’m having is with Rich Text field A. This is intended to act as a container of a user-selected logo image to better represent or brand a given SDMS database. (In current versions of SDMS, this is a static image of my own Asia/Pacific Computer Services logo, and I want to allow users now to be able to override this with an image of their own choosing.)

I use the following code to retrieve the logo image and display it on the form (inside the top frame of the frameset):

temp_Logo := @GetProfileField( "SDMS_profile"; "Logo" );
@SetDocField( @DocumentUniqueID; "Logo"; temp_Logo )

These formulae work fine for the Notes Client, but fail miserably for the web browser client.

All that appears is the dreaded image download placeholder, which I’ve highlighted in yellow in the above right illustration.

SDMS_V4.5_new_heading_fields_Browser_image_properties

I just cannot get the logo image to display in a browser. I’ve tried several browsers (IE8, Firefox 3, and others) with the same result regardless of which browser.

The image placeholder has properties like in the third illustration.

If I save a different-sized image in the SDMS Profile document, the dimensions property at F changes to match the new image, and the image placeholder correspondingly changes shape.

Thus the Domino server (HTML task?) must be retrieving the image file, but why doesn’t it actually display the image in the browser window? As you can see at point E in the illustration, curiously the image’s URL consists of everything but the image filename.

What’s going on under the covers? Is it some quirk of the Domino HTML task that prevents it in some subtle way from being able to handle/display an image retrieved from a Rich Text field?

I was toying with writing some LotusScript that would store the image file into a database Image Resource object that had a fixed filename, but couldn’t see any script class with a method for doing this. Is there any way to accomplish such a feat? Besides which, why should I have to go to so much extra trouble when the text fields are being displayed without drama (via the simple @GetProfileField and @SetDocField formulae) yet the image stored in the Rich text field isn’t?

So guys and gals… Please HELP, HELP, HELP!

Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home
View mobile version

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • I was going to delay writing this, but here it is anyway …
    What’s the difference between ignorance and apathy?    ANSWER: I don’t know, and I don’t care! It’s been one of those days for me, ...
  • The premise is … I’m getting even madder
    I was reading this IBM Redbook today, and it didn’t make a good first impression: I really love IBM Redbooks, but not at all the way...
  • "Simple Signer" - Freeware tool to easily sign Lotus Notes databases
    This is a deliberately simple tool enabling you to select any Lotus Notes database -- local, or on a Lotus Domino server -- and then to sign...
  • Which one is "bigger" -- Microsoft or IBM?
    There's an IT industry debate that has been going on for a decade or more now, about whether or not " The mainframe is dead." ...
  • Another weird LotusScript compiler problem
    I had barely told you about a LotusScript compiler error that I had a few days ago (see The curious case of the "Name previously decla...
  • Get knotted!
    Hey, you might find any topic discussed on this blog! These days, I tend to dress very formally and don't have all that much use for th...
  • How to fix Eudora when the spell checker doesn't want to remember added words
    I started using Eudora as my mail client way back in 1993 or thereabouts. I still use Eudora to this day; it's not perfect, but has many...
  • How to install CDBurnerXP (and WinSCP) without Open Candy
    CDBurnerXP is free and very good software for burning CDs, DVDs and Blu-ray disks, but unfortunately the default installer installs OpenC...
  • Hot topic? A new ice age is coming (eventually)
    My science/engineering background is bubbling to the surface again. I’ve just examined Burt Rutan’s presentations and highly recommend them...
  • Life Begins at Requirements (not at 40)
    "Few people have the same notion of what requirements are and where they fit into the big picture" writes Richard M. Marshall, in ...

Categories

  • Add-ons
  • Adobe Reader
  • AJAX
  • Application Platform
  • Architecture
  • AS/400
  • Asia
  • Australia
  • Bad Software
  • Browser
  • Browser Share
  • Bug
  • Bushfire
  • Business
  • Chemistry
  • China
  • Coding
  • Communication
  • Communities of Interest
  • Crossword
  • Crosswords
  • Curiosity
  • Device Drivers
  • DLL hell
  • Documentation
  • Dragon
  • Durian
  • Ecosystems
  • Error Messages
  • Eudora
  • Extensions
  • Facetiousness
  • Failure
  • Firefox
  • FOSS
  • Freelance
  • Freeware
  • Fun
  • Heat Wave
  • Humor
  • i Series
  • IBM
  • IBM Systems
  • IE
  • Image resource manipulation
  • Innovation
  • Installation
  • Internet Explorer
  • Intranet
  • Japan
  • Koala
  • Linux
  • Live Writer
  • Lotus Domino
  • Lotus Notes
  • Lotus Notes Lotus Domino
  • Lotus Software
  • LotusScript
  • Mainframe
  • Melbourne (Australia)
  • Microsoft
  • Multiple
  • Natural Disaster
  • NaturallySpeaking
  • Nigerian 419 fraud
  • Notes Mail
  • NotesTracker
  • Nuance
  • Open Source
  • OpenNTF.ORG
  • Patents
  • POSS
  • PowerPoint
  • Pragmatism
  • Presenter
  • Print Server
  • Project Management
  • Pronunciation
  • Proprietary
  • Registry
  • Releases
  • Research and Development
  • RIA
  • SDMS
  • Security
  • Service Oriented Architecture
  • SNA
  • SOA
  • Software
  • Software Package
  • speech recognition
  • Spell Checking
  • Standards
  • System i
  • System/38
  • TCP/IP
  • Technology
  • Usability
  • Usability Testing
  • Versions
  • Victoria
  • Weather
  • Web 2.0
  • Web 3.0
  • Web Design
  • Web Pi
  • Web Services
  • Webshots.com
  • Windows
  • Windows 7 backgrounds
  • Words
  • z Series

Blog Archive

  • ►  2013 (25)
    • ►  November (1)
    • ►  October (2)
    • ►  September (1)
    • ►  June (7)
    • ►  May (1)
    • ►  April (7)
    • ►  March (2)
    • ►  February (4)
  • ►  2012 (25)
    • ►  December (7)
    • ►  November (1)
    • ►  October (1)
    • ►  September (3)
    • ►  August (1)
    • ►  July (1)
    • ►  June (6)
    • ►  May (2)
    • ►  April (2)
    • ►  March (1)
  • ►  2011 (20)
    • ►  December (3)
    • ►  November (1)
    • ►  August (1)
    • ►  July (2)
    • ►  June (2)
    • ►  March (4)
    • ►  February (2)
    • ►  January (5)
  • ►  2010 (69)
    • ►  November (2)
    • ►  October (3)
    • ►  September (5)
    • ►  August (13)
    • ►  July (3)
    • ►  June (3)
    • ►  May (2)
    • ►  April (10)
    • ►  March (10)
    • ►  February (8)
    • ►  January (10)
  • ▼  2009 (41)
    • ►  December (5)
    • ►  November (6)
    • ►  October (5)
    • ►  September (4)
    • ►  August (1)
    • ►  June (1)
    • ►  May (3)
    • ▼  April (2)
      • Image served out by Domino not visible in browser ...
      • Small businesses bringing economic stress home – M...
    • ►  February (9)
    • ►  January (5)
  • ►  2008 (16)
    • ►  November (3)
    • ►  October (3)
    • ►  August (2)
    • ►  July (3)
    • ►  June (1)
    • ►  April (1)
    • ►  February (1)
    • ►  January (2)
  • ►  2007 (39)
    • ►  October (1)
    • ►  September (1)
    • ►  August (1)
    • ►  July (5)
    • ►  June (1)
    • ►  May (2)
    • ►  April (11)
    • ►  March (5)
    • ►  February (8)
    • ►  January (4)
  • ►  2006 (98)
    • ►  December (8)
    • ►  November (25)
    • ►  October (6)
    • ►  September (6)
    • ►  August (5)
    • ►  July (6)
    • ►  June (16)
    • ►  May (17)
    • ►  April (2)
    • ►  March (4)
    • ►  February (3)
  • ►  2005 (38)
    • ►  November (5)
    • ►  September (2)
    • ►  August (10)
    • ►  July (14)
    • ►  June (3)
    • ►  April (3)
    • ►  March (1)
Powered by Blogger.

About Me

Unknown
View my complete profile