OBIEE 12c - Unable to display images referenced via URL — Oracle Analytics

Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

OBIEE 12c - Unable to display images referenced via URL

Received Response
182
Views
6
Comments
Mark.Thompson
Mark.Thompson Rank 6 - Analytics Lead

In OBIEE 12c, I can use the new Upload feature for 'Custom Images' just fine.  Works like a charm, and it is a great addition to the product.

However, I believe I should still be able to type a URL into the 'Custom Image' field and display picture files using that method as well.  In 12.2.1.2.0 ((Build BIPS-20160923092103 64-bit) that is not working for me.  Instead of the picture, I just see the word 'Logo'. 

I know the URL for the picture file (.jpg) is correct.  When I type it into the address field in my browser, I see the image.  When I type it into the Custom Image field... nothing.  It is a small 50x50 pixel image, and it has always worked in the past (11g).  In fact, I just now went to an 11g analysis, copied the URL from the Custom Image field in the Title view of an existing analysis (where it works correctly), and then pasted that URL into the Custom Image field in the Title view in 12c, so I know there is no possibility that I'm typing it wrong.  Still no bueno.  It doesn't display the image in 12c.

Thoughts?

Answers

  • Sherry George
    Sherry George Rank 7 - Analytics Coach

    OBIEE is probably blocking the external domain content. To allow, you need to edit instanceconfig.xml. Check this doc https://docs.oracle.com/middleware/1221/biee/BIESG/answersconfigset.htm#BIESG9326

  • If your image is blocked by the CSP rules (the link Sherry George posted) you can see it in your browser if you open the developer tool and reload the page. You must see a reference to an image blocked because of CSP in general.

    If that's the reason (so if your image has a different domain than the OBIEE one) configure correctly CSP following the posted link and do not just turn it off like some people around the forum suggested. CSP is there for your safety and the right config is really simple.

    What can bother you a bit more is that it is an instanceconfig.xml setting requiring a restart of OBIPS, so it's better if you identify all the required domains to allow at once and add them all.

    There seems to be a way to make it a bit more dynamically with a webservice call but I just saw the name and didn't looked any further on the real effect and behaviour of that thing.

  • Mark.Thompson
    Mark.Thompson Rank 6 - Analytics Lead

    Sherry, I will test this later, but I feel sure this is the correct answer.  And since you posted it first, you get the 'Correct Answer' credit.

  • Mark.Thompson
    Mark.Thompson Rank 6 - Analytics Lead

    Gianni, as always, great explanation, sir.  Sherry was first to the party for the 'Correct Answer', but I'm tagging yours as helpful, but only because there isn't a button labelled 'Very Helpful'.

  • Mark.Thompson
    Mark.Thompson Rank 6 - Analytics Lead

    Sherry, I was able to test this after hours last night, and it works perfectly.  Thank you again.

  • Sherry George
    Sherry George Rank 7 - Analytics Coach

    You are welcome.