MattBurn
MattBurn

Reputation: 11

Adding a static image to Apex 5.1

I'm fairly new to Oracle Application Express and I'm trying to load an image into a page in Apex 5 but with no success.

I've tried loading it as a shared object, both as an application image and workspace image but neither one shows up.

I've added the application item as an image and pointed it to the URL address that I've set up as a shared object and it also does not show up; all that I get is the generic JPEG icon in place of the image. I’ve tried placing it in the content body, the header and in the breadcrumbs bar, each fruitlessly. I've also fiddled around with the image resolution/size/file type; all to no avail.

A colleague with Apex 4 experience told me that everything I’ve tried works in the earlier version.

Any ideas?

P.S. I've already gone through all of the suggestion in this link:

Oracle Apex 5.0 - Display static image

Upvotes: 1

Views: 3446

Answers (1)

Littlefoot
Littlefoot

Reputation: 142720

This is how I do it (on apex.oracle.com, so that you'd know which version it is - 5.1.4 at the moment).

  • upload image through Shared components, into the workspace images (I prefer that over application images so that I could use all images I have everywhere within the workspace). It is called TEST.JPG
  • to set that image as a region image, I created a sample page, navigated to region's properties (region image is under the "Advanced" section)
  • put #WORKSPACE_IMAGES#TEST.JPG in there
  • run the page
  • works fine

If you still can't make it work, create an example on apex.oracle.com, provide credentials so that we could connect and have a look.

Upvotes: 1

Related Questions