Cannot display bitmaps in Gen Web View generated modules
search cancel

Cannot display bitmaps in Gen Web View generated modules

book

Article ID: 7287

calendar_today

Updated On:

Products

Gen Gen - Workstation Toolset

Issue/Introduction

Transitioning from Gen 8.6 GUI clients to Web View clients.
When targeting Web View, bitmap images display at design time, but do not display at runtime.
The same application displays bitmaps successfully when targeting GUI.

Environment

Gen Studio
Gen Workstation Toolset

Resolution

When transitioning from Gen GUI Clients, to display bitmaps within Gen Web View clients:

  • Be sure the GUI Client displays the bitmaps (.bmp) on the window successfully.  

  • Convert all the .bmp bitmaps to .jpg files, using a paint package or other conversion tool. Web View only accepts .jpg images. 

  • Place the same named .jpg file(s) in the folder location: 'C:\...\<local_model>.ief\html\images\'

  • Generate/Build/Assemble and Deploy the Gen Web application, the bitmaps will now be present at runtime.