ogobrecht / d3-force-apex-plugin

Oracle APEX Region Type Plugin: D3 Force Network Chart

Home Page:https://ogobrecht.github.io/d3-force-apex-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I have been working on showing images in each node - Comment

pablo-flores opened this issue · comments

Hi Ottmar

I have been working on showing images in each node, I could do it with link in this way

apex_util.prepare_url (: APP_IMAGES || 'icons8-server-100.png') as image

but not so with images that are in a blob field in a table

(Select decode (nvl (dbms_lob.getlength (IMAGE2), 0), 0, null, apex_util.get_blob_file_src ('P62_IMAGEN', IDIMAGEN)) IMAGE2 from MY_IMAGENES where IDIMAGEN = 1) as image

What can I do to achieve it?

thank you very much for your help.

Excellent Ottmar !

it worked with

apex_util.get_blob_file_src ('P32_IMAGEN2', id) as image

thanks for your help !
best regards
Pablo

Hi Pablo,

I definitely recommend to read Joels blog posting: https://joelkallman.blogspot.com/2014/03/yet-another-post-how-to-link-to.html

Although your solution is working you may get performance issues because of to o many reuests to your images. Think about client side caching by setting the correct headers - therefore have a look at Joels posting.

Best regards
Ottmar