Originally started in post:
viewtopic.php?f=3&t=2747
Has anyone see where a BLOB image file is not recognized correctly in a VL web dialog?
Using the DEV tools console, I found that in my VL web dialog when trying to use the intrinsic for the images file path, that the BLOB file was found (status = 200) by the dialog, but the Type is listed as "text/html"???
Code: Select all
#MIIMAGE_PATH := ("images\\" + #CENO + "\\" + #MIIMAGE)
#ImageOnly.Image <= #SYS_APPLN.CreateBitmap( #MIIMAGE_PATH )
LINE-#560 path: images\\P001\\F0001_tobias_allen.jpg
Yet, when I execute with the dialog image path as the fully qualified URL, it finds and displays the image Type as "jpeg".
Code: Select all
#ImageOnly.Image <= #SYS_APPLN.CreateBitmap( "https://www.servias.net/dcxpgmlib/sip/images/P001/F0001_tobias_allen.jpg" )
I created a simplified VL web page & dialog to start a support case with, but in the simplified (non production work) version, the same coding works with both the fully qualified URL path, and the intrinsic images file path finding and displaying the jpg image. ?!?!?
My assumption is that in my production VL web dialog, that I have something that is causing the reading of the BLOB file some grief, but I am not sure what might cause this?
Any help is greatly appreciated.