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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

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

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Dec 6 2015
Added on Nov 8 2015
4 comments
1,609 views