cancel
Showing results for 
Search instead for 
Did you mean: 

Image is not displaying

Former Member
0 Kudos

Hi,

When I execute my app from SE80(BSP application right click test) the images are displayed although when execute from Fiori Launchpad they aren't displaying.

Someone knows what is wrong? is missing something when I run from Launchpad?

BSP Application(SE80)

Image url /sap/bc/ui5_ui5/sap/zpurchasereq/img/000000000000000971.jpg

Fiori Launchpad

Image url /sap/bc/ui5_ui5/ui2/ushell/shells/abap/img/000000000000000971.jpg

UI5RepositoryPathMapping.xml

  <MappingEntry

    path              = "img/000000000000000971.jpg"

    is_folder         = ""

    internal_rep      = "M"

    internal_rep_path = "img/000000000000000971.jpg" />

Accepted Solutions (0)

Answers (1)

Answers (1)

karthikarjun
Active Contributor
0 Kudos

You can try this,


new sap.m.Image({

src : jQuery.sap.getModulePath("img/000000000000000971.jpg")

})

Regards,

Karthik A