Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to download blob image, inline to new browser tab or window

PPlattNov 19 2013 — edited Nov 20 2013

APEX V4.2.3

I have an interactive report with a blob download column which is set to inline.  When I click on the "download" link the image appears automatically in same window as the APEX application.  How do I download the image into a new browser tab?  I need to squeeze 'target="_blank" ' somewhere but I don't know where as the link structure is hidden.

Here is the code for my download column in the Interactive Report.

select

....,

decode(nvl(dbms_lob.getlength(BLOB_CONTENT),0),0,null,

'<img style="border: 4px solid #CCC; -moz-border-radius: 4px; -webkit-border-radius: 4px;" '||

'src="'||

apex_util.get_blob_file_src('P98_BLOB_CONTENT',image_id)||

'" height="100" width="100" alt="'||FILENAME||'" title="'||FILENAME||'" />')

as detail_img,

....

from "#OWNER#"."TIS_ATTACHMENTS"

...

thanks in advance

PaulP

This post has been answered by LT.ora on Nov 20 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 18 2013
Added on Nov 19 2013
2 comments
1,435 views