Skip to Main Content

How to save an image from a DIV to oracle BLOB column

SiberiaNov 8 2015 — edited Nov 8 2015

Hi Apex Community:

i have a DIV section in my Oracle Apex (Application Express 5.0.0.00.31) page :

<br />

<div id="editor-box-img" class="target" contenteditable="true">

</div>


i am able to paste images from clipboard to this DIV, so i want to know how can i save this image to my oracle database table ??.

The table structure is a very simple demo:

create table blob_test (

id number,

blob_content blob,

mime_type varchar2(1000),

file_name varchar2(1000),

constraint blob_test_pk primary key(id)

)

/

any help will be highly appreciated.

Thanks

Mj

Comments
Post Details
Added on Nov 8 2015
4 comments
1,326 views