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!

BLOB from javascript to DB...

SebastianScholzAug 27 2015 — edited Sep 1 2015

Hi,

In my APEX App, I have in the html code an img tag with src=BASE64, the data comes from an external source over a web socket.

the will look like, teh base64 string is of course much much longer, even larger than 32K.

<img id="video" width="400" src="data:image/Jpeg;base64, /9j/4AAQSkZJRg>

Question: I have a table with a BLOB Column and I just want to store that img src to that blob. How do I do this with APEX? I tried first with a CLOB approach but that doesnt work as the limit is 32K and also a CLOB to BLOB Conversion is not really what I want. I need to have the image right in the database as a BLOB.

I hope someone can help me out with this,

best Regards

Sebastian

This post has been answered by Kiran Pawar on Aug 28 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 29 2015
Added on Aug 27 2015
8 comments
2,630 views