Use a directory structure as Image Prefix in APEX

Usually the APEX images reside in a directory on your server called /i/, which can be changed on instance or application level.

In 95% of all cases I saw, the image prefix is /i/, sometimes it is extended by a version number like /i501/ or /i181/.

Did you know, you can use a whole directory structure (path) as image prefix?

Today this was required by a customer, to nest this path, e.g. as /apex/182/images/

To my surprise is simply works like that, no questions asked.

Set it for a specific application in Shared Components / User Interface Attributes:

It is also possible to change the image prefix for the whole APEX instance using the script reset_image_prefix.sql, which resides in the utilities folder of the APEX.zip

Now the HTML source generated by APEX reflects this new image prefix:

I thought I would blog this, since it was so easy to achieve and so useful for today’s requirement.

Leave a Reply

Your email address will not be published. Required fields are marked *